summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authorMahmoud <[email protected]>2019-10-16 15:30:22 -0400
committerMahmoud <[email protected]>2019-10-16 15:30:22 -0400
commit998bbc82176e1579c8500aa0c01bb00395da74dc (patch)
treeba7a769e50a73e01621a52be1760f2f459847067 /src/abstract_hardware_model.h
parent9d845da65a4b60d78e1a57dd081a6a155be78edd (diff)
adding kernel latency
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index a267d38..135b03b 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -348,9 +348,11 @@ public:
unsigned long long launch_cycle;
unsigned long long start_cycle;
unsigned long long end_cycle;
- unsigned m_launch_latency;
+ unsigned m_launch_latency; //this used for CDP kernel latency
mutable bool cache_config_set;
+
+ unsigned m_kernel_TB_latency; //this used for any CPU-GPU kernel latency and counted in the gpu_cycle
};
class core_config {