Code-style consistency improvement:
Apply clang-format-all.sh using the _clang-format file through all the cpp/.h files. make sure not to apply it to certain serialization structures, since some parser expects the * as part of the name, instead of type. This commit contains no other changes aside from adding and applying clang-format-all.sh
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#ifndef B3_CLOCK_H
|
||||
#define B3_CLOCK_H
|
||||
|
||||
|
||||
///The b3Clock is a portable basic clock that measures accurate time in seconds, use for profiling.
|
||||
class b3Clock
|
||||
{
|
||||
@@ -14,17 +13,17 @@ public:
|
||||
~b3Clock();
|
||||
|
||||
/// Resets the initial reference time. If zeroReference is true, will set reference to absolute 0.
|
||||
void reset(bool zeroReference=false);
|
||||
void reset(bool zeroReference = false);
|
||||
|
||||
/// Returns the time in ms since the last call to reset or since
|
||||
/// Returns the time in ms since the last call to reset or since
|
||||
/// the b3Clock was created.
|
||||
unsigned long int getTimeMilliseconds();
|
||||
|
||||
/// Returns the time in us since the last call to reset or since
|
||||
/// Returns the time in us since the last call to reset or since
|
||||
/// the Clock was created.
|
||||
unsigned long long int getTimeMicroseconds();
|
||||
|
||||
/// Returns the time in seconds since the last call to reset or since
|
||||
/// Returns the time in seconds since the last call to reset or since
|
||||
/// the Clock was created.
|
||||
double getTimeInSeconds();
|
||||
|
||||
@@ -36,5 +35,4 @@ private:
|
||||
struct b3ClockData* m_data;
|
||||
};
|
||||
|
||||
|
||||
#endif //B3_CLOCK_H
|
||||
#endif //B3_CLOCK_H
|
||||
|
||||
Reference in New Issue
Block a user