cctools
category_internal.h
1/*
2Copyright (C) 2022 The University of Notre Dame
3This software is distributed under the GNU General Public License.
4See the file COPYING for details.
5*/
6
7#ifndef CCTOOLS_CATEGORY_INT_H
8#define CCTOOLS_CATEGORY_INT_H
9
10#include "category.h"
11
12void category_first_allocation_accum_times(struct histogram *h, double *keys, double *tau_mean, double *counts_cdp, double *times_accum);
13void category_tune_bucket_size(const char *resource, int64_t size);
14int64_t category_get_bucket_size(const char *resource);
15
16#endif
Implements bookkeeping for categories of tasks and their resources.