GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - PlatformLab/PerfUtils: A collection of eclectic tools for measuring performance using the cycle counter and pinning threads.

BranchesTags
Open more actions menu

Latest commit

 

History

96 Commits
96 Commits

Folders and files

NameName
Last commit message
Last commit date
cmake
cmake
 
 
cwrapper
cwrapper
 
 
hooks
hooks
 
 
scripts
scripts
 
 
src
src
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 

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

Readme
License
Activity
Custom properties

Stars

42 stars

Watchers

9 watching

Forks

20 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.