mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
renamed log_reset() to log_init()
This commit is contained in:
parent
01cf61e467
commit
7135dcfa69
6 changed files with 6 additions and 6 deletions
|
@ -45,7 +45,7 @@ void log_outdent(int *);
|
|||
void log_setlevel(int lvl);
|
||||
|
||||
/** Reset the wallclock of debug messages. */
|
||||
void log_reset();
|
||||
void log_init();
|
||||
|
||||
/** Logs variadic messages to stdout.
|
||||
*
|
||||
|
|
|
@ -54,7 +54,7 @@ void log_setlevel(int lvl)
|
|||
debug(10, "Switched to debug level %u", level);
|
||||
}
|
||||
|
||||
void log_reset()
|
||||
void log_init()
|
||||
{
|
||||
clock_gettime(CLOCK_REALTIME, &epoch);
|
||||
debug(10, "Debug clock resetted");
|
||||
|
|
|
@ -90,7 +90,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
list_init(&nodes, (dtor_cb_t) node_destroy);
|
||||
|
||||
log_reset();
|
||||
log_init();
|
||||
config_init(&config);
|
||||
config_parse(argv[optind], &config, &set, &nodes, NULL);
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
list_init(&nodes, (dtor_cb_t) node_destroy);
|
||||
|
||||
log_reset();
|
||||
log_init();
|
||||
config_init(&config);
|
||||
config_parse(argv[optind], &config, &set, &nodes, NULL);
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
char *configfile = (argc == 2) ? argv[1] : "opal-shmem.conf";
|
||||
|
||||
log_reset();
|
||||
log_init();
|
||||
info("This is Simulator2Simulator Server (S2SS)");
|
||||
info (" Version: %s (built on %s, %s)", BLD(YEL(VERSION)),
|
||||
BLD(MAG(__DATE__)), BLD(MAG(__TIME__)));
|
||||
|
|
|
@ -88,7 +88,7 @@ int main(int argc, char *argv[])
|
|||
sigaction(SIGTERM, &sa_quit, NULL);
|
||||
sigaction(SIGINT, &sa_quit, NULL);
|
||||
|
||||
log_reset();
|
||||
log_init();
|
||||
config_init(&config);
|
||||
config_parse(argv[1], &config, &settings, &nodes, NULL);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue