Subject Re: Firebird::UtilInterfacePtr()->getPerfCounters
Author Norbert Saint Georges
Norbert Saint Georges nsg@... [firebird-support] a écrit :
> where can I find them?

ok in ../../yvalve/perf.cpp

#define TOTAL_COUNTERS 11

// we use case-insensitive names, here they are written with capital
letters for human readability
KnownCounters knownCounters[TOTAL_COUNTERS] = {
{"RealTime", CNT_TIMER, CNT_TIME_REAL},
{"UserTime", CNT_TIMER, CNT_TIME_USER},
{"SystemTime", CNT_TIMER, CNT_TIME_SYSTEM},
{"Fetches", CNT_DB_INFO, isc_info_fetches},
{"Marks", CNT_DB_INFO, isc_info_marks},
{"Reads", CNT_DB_INFO, isc_info_reads},
{"Writes", CNT_DB_INFO, isc_info_writes},
{"CurrentMemory", CNT_DB_INFO, isc_info_current_memory},
{"MaxMemory", CNT_DB_INFO, isc_info_max_memory},
{"Buffers", CNT_DB_INFO, isc_info_num_buffers},
{"PageSize", CNT_DB_INFO, isc_info_page_size}
};

--
Norbert Saint Georges
http://tetrasys.fi