Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
impala::RuntimeProfile::ThreadCounters Class Reference

A set of counters that measure thread info, such as total time, user time, sys time. More...

#include <runtime-profile.h>

Collaboration diagram for impala::RuntimeProfile::ThreadCounters:

Private Attributes

Countertotal_time_
 
Counteruser_time_
 
Countersys_time_
 
Countervoluntary_context_switches_
 
Counterinvoluntary_context_switches_
 

Friends

class ThreadCounterMeasurement
 
class RuntimeProfile
 

Detailed Description

A set of counters that measure thread info, such as total time, user time, sys time.

Definition at line 244 of file runtime-profile.h.

Friends And Related Function Documentation

friend class RuntimeProfile
friend

Definition at line 247 of file runtime-profile.h.

friend class ThreadCounterMeasurement
friend

Definition at line 246 of file runtime-profile.h.

Member Data Documentation

Counter* impala::RuntimeProfile::ThreadCounters::involuntary_context_switches_
private

The number of times a context switch resulted due to a higher priority process becoming runnable or because the current process exceeded its time slice.

Definition at line 259 of file runtime-profile.h.

Referenced by impala::RuntimeProfile::AddThreadCounters(), and impala::ThreadCounterMeasurement::Stop().

Counter* impala::RuntimeProfile::ThreadCounters::sys_time_
private
Counter* impala::RuntimeProfile::ThreadCounters::total_time_
private
Counter* impala::RuntimeProfile::ThreadCounters::user_time_
private
Counter* impala::RuntimeProfile::ThreadCounters::voluntary_context_switches_
private

The number of times a context switch resulted due to a process voluntarily giving up the processor before its time slice was completed.

Definition at line 255 of file runtime-profile.h.

Referenced by impala::RuntimeProfile::AddThreadCounters(), and impala::ThreadCounterMeasurement::Stop().


The documentation for this class was generated from the following file: