MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / get_parameter

Function get_parameter

src/yvalve/perf.cpp:56–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55template <typename T>
56static SINT64 get_parameter(const T** ptr)
57{
58/**************************************
59 *
60 * g e t _ p a r a m e t e r
61 *
62 **************************************
63 *
64 * Functional description
65 * Get a parameter (length is encoded), convert to internal form,
66 * and return.
67 *
68 **************************************/
69 SSHORT l = *(*ptr)++;
70 l += (*(*ptr)++) << 8;
71 const SINT64 parameter = isc_portable_integer(reinterpret_cast<const ISC_UCHAR*>(*ptr), l);
72 *ptr += l;
73
74 return parameter;
75}
76
77
78#ifndef HAVE_TIMES

Callers 2

perf_get_infoFunction · 0.85
getPerfCountersMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected