Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
PRealm::ProfilingResponse Class Reference

#include <profiling.h>

Public Member Functions

 ProfilingResponse (const void *_data, size_t _data_size)
 ~ProfilingResponse (void)
const void * user_data (void) const
size_t user_data_size (void) const
template<typename T>
bool has_measurement (void) const
template<typename T>
T * get_measurement (void) const
template<typename T>
bool get_measurement (T &result) const

Protected Member Functions

REALM_INTERNAL_API_EXTERNAL_LINKAGE bool find_id (int id, int &offset, int &size) const

Protected Attributes

const char * data
size_t data_size
int measurement_count
size_t user_data_offset
const int * ids

Constructor & Destructor Documentation

◆ ProfilingResponse()

Realm::ProfilingResponse::ProfilingResponse ( const void * _data,
size_t _data_size )

◆ ~ProfilingResponse()

Member Function Documentation

◆ find_id()

REALM_INTERNAL_API_EXTERNAL_LINKAGE bool Realm::ProfilingResponse::find_id ( int id,
int & offset,
int & size ) const
protected

◆ get_measurement() [1/2]

template<typename T>
bool Realm::ProfilingResponse::get_measurement ( T & result) const

◆ get_measurement() [2/2]

template<typename T>
T * Realm::ProfilingResponse::get_measurement ( void ) const

◆ has_measurement()

template<typename T>
bool Realm::ProfilingResponse::has_measurement ( void ) const

◆ user_data()

const void * Realm::ProfilingResponse::user_data ( void ) const

◆ user_data_size()

Member Data Documentation

◆ data

const char* Realm::ProfilingResponse::data
protected

◆ data_size

◆ ids

const int* Realm::ProfilingResponse::ids
protected

◆ measurement_count

◆ user_data_offset


The documentation for this class was generated from the following file:
  • /home/runner/work/realm/realm/realm-src/src/realm/profiling.h