Parent Directory | Revision Log | Patch
revision 1551 by schoenebeck, Sun Sep 11 15:56:29 2005 UTC | revision 1552 by schoenebeck, Wed Dec 5 22:37:42 2007 UTC | |
---|---|---|
# | Line 30 namespace LinuxSampler { namespace gig { | Line 30 namespace LinuxSampler { namespace gig { |
30 | double Profiler::tsPerSecond = 0; | double Profiler::tsPerSecond = 0; |
31 | bool Profiler::bEnabled = false; | bool Profiler::bEnabled = false; |
32 | ||
33 | void Profiler::Reset() | |
34 | { | |
35 | profilingSamples = 0; | |
36 | profilingTime = 0; | |
37 | } | |
38 | ||
39 | void Profiler::enable() { | |
40 | bEnabled = true; | |
41 | } | |
42 | ||
43 | void Profiler::Calibrate( void ) | void Profiler::Calibrate( void ) |
44 | { | { |
45 | clock_t start_time = clock(); | clock_t start_time = clock(); |
|
ViewVC Help | |
Powered by ViewVC |