| 358 | } |
| 359 | |
| 360 | CMP_ERROR CMP_API CMP_GetPerformanceStats(KernelPerformanceStats* pPerfStats) |
| 361 | { |
| 362 | CMP_ERROR result; |
| 363 | if (g_ComputeBase) |
| 364 | { |
| 365 | result = g_ComputeBase->TC_GetPerformanceStats(pPerfStats); |
| 366 | if (result != CMP_OK) |
| 367 | return (result); |
| 368 | } |
| 369 | else |
| 370 | return CMP_ABORTED; |
| 371 | return CMP_OK; |
| 372 | } |
| 373 | |
| 374 | CMP_ERROR CMP_API CMP_GetDeviceInfo(KernelDeviceInfo* pDeviceInfo) |
| 375 | { |