pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/PlatformLab/PerfUtils

GitHub - PlatformLab/PerfUtils: A collection of eclectic tools for measuring performance using the cycle counter and pinning threads. · GitHub
Skip to content

PlatformLab/PerfUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Peformance Utilities

PerfUtils is a low-overhead library for doing performance analysis of highly-performant software systems running on x86_64.

How to Use It

  1. Clone the repository.

     git clone https://github.com/PlatformLab/PerfUtils.git
    
  2. Build the library.

     pushd PerfUtils
     make
     popd
    
  3. Instrument your application, including the header files for the utilities you would like to use, with a PerfUtils prefix.

     #include "PerfUtils/TimeTrace.h"
    
     using PerfUtils::TimeTrace;
    
     int main(){
        TimeTrace::record("Start of execution");
        uint64_t sum = 0;
        for (int i = 0; i < (1 << 20); i++) {
            sum += i;
        }
        TimeTrace::record("End of a counting loop");
        TimeTrace::record("Hello world");
        TimeTrace::print();
     }
    
  4. Build and link against PerfUtils.

     g++ -o Main -Ipath/to/PerfUtils/include -std=c++0x Main.cc  -Lpath/to/PerfUtils/lib -lPerfUtils
    

About

A collection of eclectic tools for measuring performance using the cycle counter and pinning threads.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy