| 
    My Project
    
   programmer's documentation 
   | 
 
Resource allocation management (available time). More...
#include "cs_defs.h"#include <errno.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/resource.h>#include "bft_error.h"#include "bft_printf.h"#include "cs_base.h"#include "cs_timer.h"#include "cs_resource.h"
Functions | |
| void | CS_PROCF (armtps, ARMTPS) const | 
| double | cs_resource_get_wt_limit (void) | 
| Get current wall-clock time limit.  More... | |
| void | cs_resource_set_wt_limit (double wt) | 
| Set wall-clock time limit.  More... | |
| void | cs_resource_get_max_timestep (int ts_cur, int *ts_max) | 
| Limit number of remaining time steps if the remaining allocated time is too small to attain the requested number of steps.  More... | |
Resource allocation management (available time).
| void CS_PROCF | ( | armtps | , | 
| ARMTPS | |||
| ) | const | 
| void cs_resource_get_max_timestep | ( | int | ts_cur, | 
| int * | ts_max | ||
| ) | 
Limit number of remaining time steps if the remaining allocated time is too small to attain the requested number of steps.
| [in] | ts_cur | current time step number | 
| [in,out] | ts_max | maximum time step number | 
| double cs_resource_get_wt_limit | ( | void | ) | 
Get current wall-clock time limit.
| void cs_resource_set_wt_limit | ( | double | wt | ) | 
Set wall-clock time limit.
| [in] | wt | wall-time limit (in seconds), or -1 | 
 1.8.16