20 int main(
int argc,
char **argv)
30 JParser<> zap(
"Example program to show memory usage.");
37 catch(
const exception &error) {
38 FATAL(error.what() << endl);
43 const size_t size = size_B /
sizeof(
data_type);
53 for (
size_t i = 0; i != size; ++i) {
91 for (
size_t i = 0; i != N; ++i) {
92 buffer[i].resize(size / N);
int main(int argc, char **argv)
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
I/O formatting auxiliaries.
Shell interaction via I/O streams.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
std::vector< event_type > data_type
float getMemoryUsage(JShell &shell, const pid_t pid)
Get memory usage in percent of given process identifier.
Auxiliary data structure for floating point format specification.
Data structure for measured coincidence rates of all pairs of PMTs in optical module.