18 const std::string& prof_label,
20 int events_cache_size = 10,
23 std::ostream& ost = std::cout);
27 void push(
const std::string& label, CUstream_st* stream =
nullptr);
30 CUevent_st* get_event();
35 const std::string prof_label;
37 std::vector<std::string> labels;
38 std::vector<std::chrono::high_resolution_clock::time_point> times;
39 std::vector<CUevent_st*> events;
42 std::vector<CUevent_st*> events_cache;