stress-ng  0.13.05
About: stress-ng will stress test a computer system in various selectable ways. It was designed to exercise various physical subsystems of a computer as well as the various operating system kernel interfaces.
  Fossies Dox: stress-ng-0.13.05.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

core-thermal-zone.c File Reference
#include "stress-ng.h"
Include dependency graph for core-thermal-zone.c:

Go to the source code of this file.


static uint32_t stress_tz_type_instance (stress_tz_info_t *tz_info_list, const char *type)
int stress_tz_init (stress_tz_info_t **tz_info_list)
void stress_tz_free (stress_tz_info_t **tz_info_list)
int stress_tz_get_temperatures (stress_tz_info_t **tz_info_list, stress_tz_t *tz)
static int stress_tz_compare (const void *p1, const void *p2)
void stress_tz_dump (FILE *yaml, stress_stressor_t *stressors_list)

Function Documentation

◆ stress_tz_compare()

static int stress_tz_compare ( const void *  p1,
const void *  p2 

Definition at line 171 of file core-thermal-zone.c.

Referenced by stress_tz_dump().

◆ stress_tz_dump()

◆ stress_tz_free()

void stress_tz_free ( stress_tz_info_t **  tz_info_list)

Definition at line 123 of file core-thermal-zone.c.

References stress_tz_info::next, stress_tz_info::path, and stress_tz_info::type.

Referenced by main().

◆ stress_tz_get_temperatures()

int stress_tz_get_temperatures ( stress_tz_info_t **  tz_info_list,
stress_tz_t tz 

◆ stress_tz_init()

◆ stress_tz_type_instance()

static uint32_t stress_tz_type_instance ( stress_tz_info_t tz_info_list,
const char *  type 

Definition at line 34 of file core-thermal-zone.c.

References stress_tz_info::next, and stress_tz_info::type.

Referenced by stress_tz_dump(), and stress_tz_init().