Commit 554a9653 authored by Brice Videau's avatar Brice Videau

Merge branch 'path-3' into 'master'

Only count real memorytransfer

See merge request !5
parents 9ff6142c 7340997c
Pipeline #12179 failed with stage
......@@ -66,7 +66,8 @@ static void clprof_<%= dbt_event.name %>_callback(
/
%>
<%if ( dbt_event.name.include?("clEnqueue") or dbt_event.name.include?("Alloc") ) and dbt_event.fields.key?("size") %>
<%# To do handle Alloc and cl_mem_host_ptr %>
<%if dbt_event.name.include?("clEnqueue") and dbt_event.fields.key?("size") %>
memory_trafic[hpt_function_name_t(hostname,process_id, thread_id, "<%= dbt_event.name_striped %>")].delta(size);
<% end %>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment