Ada 4.1.1
Fast spec-compliant URL parser
Loading...
Searching...
No Matches
kpep_db Struct Reference

KPEP database (size: 144/80 bytes on 64/32 bit OS). More...

#include <apple_arm_events.h>

Public Attributes

const char * name
 Database name, such as "haswell".
const char * cpu_id
 Plist name, such as "cpu_7_8_10b282dc".
const char * marketing_name
 Marketing name, such as "Intel Haswell".
void * plist_data
 Plist data (CFDataRef), currently NULL.
void * event_map
 All events (CFDict<CFSTR(event_name), kpep_event *>).
kpep_event * event_arr
 Event struct buffer (sizeof(kpep_event) * events_count).
kpep_event ** fixed_event_arr
void * alias_map
 All aliases (CFDict<CFSTR(event_name), kpep_event *>).
usize reserved_1
usize reserved_2
usize reserved_3
usize event_count
 All events count.
usize alias_count
usize fixed_counter_count
usize config_counter_count
usize power_counter_count
u32 archtecture
 see KPEP CPU archtecture constants above.
u32 fixed_counter_bits
u32 config_counter_bits
u32 power_counter_bits

Detailed Description

KPEP database (size: 144/80 bytes on 64/32 bit OS).

Definition at line 398 of file apple_arm_events.h.

Member Data Documentation

◆ alias_count

usize kpep_db::alias_count

Definition at line 413 of file apple_arm_events.h.

◆ alias_map

void* kpep_db::alias_map

All aliases (CFDict<CFSTR(event_name), kpep_event *>).

Definition at line 408 of file apple_arm_events.h.

◆ archtecture

u32 kpep_db::archtecture

see KPEP CPU archtecture constants above.

Definition at line 417 of file apple_arm_events.h.

◆ config_counter_bits

u32 kpep_db::config_counter_bits

Definition at line 419 of file apple_arm_events.h.

◆ config_counter_count

usize kpep_db::config_counter_count

Definition at line 415 of file apple_arm_events.h.

◆ cpu_id

const char* kpep_db::cpu_id

Plist name, such as "cpu_7_8_10b282dc".

Definition at line 400 of file apple_arm_events.h.

◆ event_arr

kpep_event* kpep_db::event_arr

Event struct buffer (sizeof(kpep_event) * events_count).

Definition at line 405 of file apple_arm_events.h.

◆ event_count

usize kpep_db::event_count

All events count.

Definition at line 412 of file apple_arm_events.h.

◆ event_map

void* kpep_db::event_map

All events (CFDict<CFSTR(event_name), kpep_event *>).

Definition at line 403 of file apple_arm_events.h.

◆ fixed_counter_bits

u32 kpep_db::fixed_counter_bits

Definition at line 418 of file apple_arm_events.h.

◆ fixed_counter_count

usize kpep_db::fixed_counter_count

Definition at line 414 of file apple_arm_events.h.

◆ fixed_event_arr

kpep_event** kpep_db::fixed_event_arr

Fixed counter events (sizeof(kpep_event *)

  • fixed_counter_count)

Definition at line 406 of file apple_arm_events.h.

◆ marketing_name

const char* kpep_db::marketing_name

Marketing name, such as "Intel Haswell".

Definition at line 401 of file apple_arm_events.h.

Referenced by setup_performance_counters().

◆ name

const char* kpep_db::name

Database name, such as "haswell".

Definition at line 399 of file apple_arm_events.h.

Referenced by setup_performance_counters().

◆ plist_data

void* kpep_db::plist_data

Plist data (CFDataRef), currently NULL.

Definition at line 402 of file apple_arm_events.h.

◆ power_counter_bits

u32 kpep_db::power_counter_bits

Definition at line 420 of file apple_arm_events.h.

◆ power_counter_count

usize kpep_db::power_counter_count

Definition at line 416 of file apple_arm_events.h.

◆ reserved_1

usize kpep_db::reserved_1

Definition at line 409 of file apple_arm_events.h.

◆ reserved_2

usize kpep_db::reserved_2

Definition at line 410 of file apple_arm_events.h.

◆ reserved_3

usize kpep_db::reserved_3

Definition at line 411 of file apple_arm_events.h.


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