Skip to content

drichardson/wrapping_counters

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Wrapping Counters Test

Test the performance of ways to implement wrapping counters.

To build, run make.

To run, ./wrapping_counters_test 128. The argument is the value to wrap on. It must be a power of 2. The reason it's passed on the command line instead of hard coded is so that the optimizer cannot take the exact value into account.

To disassemble using objdump, run:

objdump -l -d --demangle wrapping_counters_test

To disassemble using otool on OSX, run:

otool -tv wrapping_counters_test|c++filt

or, if you've installed objdump (actually called gobjdump) as part of the binutils package using homebrew on OSX, run:

gobjdump -l -d --demangle wrapping_counters_test

About

Measure performance of different ways to implement wrapping counters

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published