| 218 | } |
| 219 | |
| 220 | Record OpBase_Profile |
| 221 | ( |
| 222 | OpBase *op |
| 223 | ) { |
| 224 | double tic [2]; |
| 225 | // Start timer. |
| 226 | simple_tic(tic); |
| 227 | Record r = op->profile(op); |
| 228 | // Stop timer and accumulate. |
| 229 | op->stats->profileExecTime += simple_toc(tic); |
| 230 | if(r) op->stats->profileRecordCount++; |
| 231 | return r; |
| 232 | } |
| 233 | |
| 234 | bool OpBase_IsWriter |
| 235 | ( |
nothing calls this directly
no test coverage detected