# NvApplicationProfiler::NvApplicationProfiler::ProfilerDataInternal Struct Reference

Internal structure to hold resource usage readings. More...

List of all members.

## Public Attributes

struct timeval | start_time
| Wall-clock time at which profiler was started.
struct timeval | stop_time
| Wall-clock time at which profiler was stopped.
struct timespec | start_proc_cpu_clock_time
| CPU clock time occupied by the process when the profiler was started.
struct timespec | start_cpu_clock_time
| Total CPU clock time when the profiler was started.
struct timespec | stop_proc_cpu_clock_time
| CPU clock time occupied by the process when the latest readings were taken.
struct timespec | stop_cpu_clock_time
| Total CPU clock time when the latest readings were taken.
float | max_cpu_usage
| Maximum of CPU usages of all sampled periods.
float | min_cpu_usage
| Minimum of CPU usages of all sampled periods.
float | avg_cpu_usage
| Average CPU usage over the entire profiling duration.
uint64_t | num_readings
| Number of readings taken.

## Detailed Description

Internal structure to hold resource usage readings.

Definition at line 149 of file NvApplicationProfiler.h.

## Member Data Documentation

float NvApplicationProfiler::NvApplicationProfiler::ProfilerDataInternal::avg_cpu_usage

Average CPU usage over the entire profiling duration.

Definition at line 173 of file NvApplicationProfiler.h.

float NvApplicationProfiler::NvApplicationProfiler::ProfilerDataInternal::max_cpu_usage

Maximum of CPU usages of all sampled periods.

Definition at line 169 of file NvApplicationProfiler.h.

float NvApplicationProfiler::NvApplicationProfiler::ProfilerDataInternal::min_cpu_usage

Minimum of CPU usages of all sampled periods.

Definition at line 171 of file NvApplicationProfiler.h.

uint64_t NvApplicationProfiler::NvApplicationProfiler::ProfilerDataInternal::num_readings

Number of readings taken.

Definition at line 176 of file NvApplicationProfiler.h.

struct timespec NvApplicationProfiler::NvApplicationProfiler::ProfilerDataInternal::start_cpu_clock_time`[read]`

Total CPU clock time when the profiler was started.

Definition at line 160 of file NvApplicationProfiler.h.

struct timespec NvApplicationProfiler::NvApplicationProfiler::ProfilerDataInternal::start_proc_cpu_clock_time`[read]`

CPU clock time occupied by the process when the profiler was started.

Definition at line 158 of file NvApplicationProfiler.h.

struct timeval NvApplicationProfiler::NvApplicationProfiler::ProfilerDataInternal::start_time`[read]`

Wall-clock time at which profiler was started.

Definition at line 152 of file NvApplicationProfiler.h.

struct timespec NvApplicationProfiler::NvApplicationProfiler::ProfilerDataInternal::stop_cpu_clock_time`[read]`

Total CPU clock time when the latest readings were taken.

Definition at line 166 of file NvApplicationProfiler.h.

struct timespec NvApplicationProfiler::NvApplicationProfiler::ProfilerDataInternal::stop_proc_cpu_clock_time`[read]`

CPU clock time occupied by the process when the latest readings were taken.

Definition at line 164 of file NvApplicationProfiler.h.

struct timeval NvApplicationProfiler::NvApplicationProfiler::ProfilerDataInternal::stop_time`[read]`

Wall-clock time at which profiler was stopped.

Definition at line 154 of file NvApplicationProfiler.h.

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

- include/NvApplicationProfiler.h