Go to the documentation of this file.
20 int main(
int argc,
char **argv)
29 JParser<> zap(
"Example program to show memory usage.");
36 catch(
const exception &error) {
37 FATAL(error.what() << endl);
46 typedef long long int JType_t;
48 const int size = size_B /
sizeof(JType_t);
53 JType_t* buffer =
new JType_t[size];
58 for (
int i = 0; i != size; ++i) {
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.
int main(int argc, char **argv)
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object