cctools
rmonitor.h
1/*
2Copyright (C) 2022 The University of Notre Dame This software is
3distributed under the GNU General Public License. See the file
4COPYING for details.
5*/
6
7#ifndef __RMONITOR_H
8#define __RMONITOR_H
9
10#include "rmsummary.h"
11#include "rmonitor_types.h"
12
13#define RESOURCE_MONITOR_ENV_VAR "CCTOOLS_RESOURCE_MONITOR"
14
15
28char *resource_monitor_write_command(const char *monitor_path, const char *template_filename, const struct rmsummary *limits, const char *extra_monitor_options, int debug_output, int time_series, int inotify_stats, const char *measure_dir);
29
37char *resource_monitor_copy_to_wd(const char *path_from_cmdline);
38
40struct rmsummary *resident_monitor_parse_resources_file(const char *filename);
41
46char *resource_monitor_locate(const char *path_from_cmdline);
47
48#endif
Definition rmsummary.h:27