viktorleis / perfevent

An easy-to-use, header-only C++ wrapper for Linux' perf event API
MIT License
110 stars 21 forks source link

print with correct precision #2

Closed jboettcher closed 6 years ago

jboettcher commented 6 years ago

The precision setting had no effect because printCounter converted it to a string before it was passed to the actual stringstream