]> git.tdb.fi Git - libs/core.git/commit
Refactor Profiler
authorMikko Rasa <tdb@tdb.fi>
Sun, 16 Sep 2012 20:21:11 +0000 (23:21 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 16 Sep 2012 20:21:11 +0000 (23:21 +0300)
commit27efc167cb10ee03c1d2a6711dd149d1093179c8
tree5b4ca55bc86e14d245163803c99bd9ce70cebceb
parente352b6c33142c531e12dfe87cc25e5f1510731de
Refactor Profiler

Have record() take in a ProfilingScope for easier transport of the
parameters.

Rename scope() to get_scope() since it provides read-only access.
source/debug/profiler.cpp
source/debug/profiler.h
source/debug/profilingscope.cpp
source/debug/profilingscope.h