3 /* time - time related syscal wrappers */
5 /* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
7 /* This program is free software; you can redistribute it and/or modify it
8 * under the terms of the license (GNU LGPL) which comes with this package. */
10 #include "gras/Virtu/virtu_sg.h"
13 * Time elapsed since the begining of the simulation.
15 double gras_os_time() {
16 return MSG_get_clock();
20 * Freeze the process for the specified amount of time
22 void gras_os_sleep(double sec) {
23 MSG_process_sleep(sec);