|
|
@@ -20,6 +20,7 @@ const char* event_names[] = { "rapl:::PACKAGE_ENERGY:PACKAGE0",
|
|
|
|
|
|
int main()
|
|
|
{
|
|
|
+#ifdef HAVE_LIBNVIDIA_ML
|
|
|
|
|
|
|
|
|
|
|
|
@@ -64,6 +65,7 @@ int main()
|
|
|
printf("energy consumptionnnnnnnnnn on device %d is %lld mJ \n", 0, (energy_end - energy_begin));
|
|
|
/*********************************************************/
|
|
|
|
|
|
+#endif
|
|
|
|
|
|
exit(0);
|
|
|
}
|