Sorting operator for struct StatData, such that it can be used in a map
| 122 | |
| 123 | // Sorting operator for struct StatData, such that it can be used in a map |
| 124 | bool operator<( const StatData& lhs, const StatData& rhs) |
| 125 | { |
| 126 | if( lhs.deltaNanoSec < rhs.deltaNanoSec ) |
| 127 | return true; |
| 128 | else |
| 129 | return false; |
| 130 | } |
| 131 | |
| 132 | GpuStatTimer& |
| 133 | GpuStatTimer::getInstance( ) |
nothing calls this directly
no outgoing calls
no test coverage detected