MCPcopy Create free account
hub / github.com/clMathLibraries/clSPARSE / operator<

Function operator<

src/clsparseTimer/clsparseTimer-device.cpp:136–142  ·  view source on GitHub ↗

Sorting operator for struct StatData, such that it can be used in a map

Source from the content-addressed store, hash-verified

134
135// Sorting operator for struct StatData, such that it can be used in a map
136bool operator<( const StatData& lhs, const StatData& rhs )
137{
138 if( lhs.deltaNanoSec < rhs.deltaNanoSec )
139 return true;
140 else
141 return false;
142}
143
144clsparseDeviceTimer&
145clsparseDeviceTimer::getInstance( )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected