Skip to content

Commit 872b738

Browse files
committed
RocTracer.cpp logging update
1 parent a6c4760 commit 872b738

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/services/roctracer/RocTracer.cpp

+3-6
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ class RocTracerService {
3939
Attribute m_activity_bytes_attr;
4040
Attribute m_kernel_name_attr;
4141

42-
unsigned m_num_buffers;
4342
unsigned m_num_flushes;
4443

4544
unsigned m_num_correlations_stored;
@@ -396,12 +395,11 @@ class RocTracerService {
396395
finish_tracing(channel);
397396

398397
Log(1).stream() << channel->name() << ": roctracer: "
399-
<< m_num_buffers << " buffers allocated, "
400-
<< m_num_flushes << " activity flushes"
401-
<< std::endl;
398+
<< m_num_flushes << " activity flushes"
399+
<< std::endl;
402400

403401
if (Log::verbosity() >= 2) {
404-
Log(2).stream() << channel->name() << ": roctracer: "
402+
Log(2).stream() << channel->name() << ": roctracer: "
405403
<< m_num_correlations_stored << " correlations stored; "
406404
<< m_num_correlations_found << " correlations found, "
407405
<< m_num_correlations_missed << " missed."
@@ -412,7 +410,6 @@ class RocTracerService {
412410

413411
RocTracerService(Caliper* c, Channel* channel)
414412
: m_api_attr { Attribute::invalid },
415-
m_num_buffers { 0 },
416413
m_num_flushes { 0 },
417414
m_num_correlations_stored { 0 },
418415
m_num_correlations_found { 0 },

0 commit comments

Comments
 (0)