Open source Star Ruler 2 source code!

This commit is contained in:
Lucas de Vries
2018-07-17 14:15:37 +02:00
commit cc307720ff
4342 changed files with 2365070 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
namespace profiler {
//Returns a value to pass to a call to 'profileEnd'
double profileStart();
//Prints out the time elapsed since 'startTime' as returned by 'profileStart'
void profileEnd(double startTime, const char* section);
#define profile( x, name ) { double _t = profiler::profileStart(); x; profiler::profileEnd(_t, name); }
};