summaryrefslogtreecommitdiffhomepage
path: root/mixlib/mix_vm_command.h
diff options
context:
space:
mode:
authorjaortega <jaortega>2001-03-10 02:30:09 +0000
committerjaortega <jaortega>2001-03-10 02:30:09 +0000
commit59cc212ebe00245200e5a2d9f2393fbd1ddb4e94 (patch)
tree74287c30c2e0dd630d98c4bc934fbacaf36f0679 /mixlib/mix_vm_command.h
parentc532202e4d9c4707cc8708b50607f246f359aac3 (diff)
downloadmdk-59cc212ebe00245200e5a2d9f2393fbd1ddb4e94.tar.gz
mdk-59cc212ebe00245200e5a2d9f2393fbd1ddb4e94.tar.bz2
format fixings
Diffstat (limited to 'mixlib/mix_vm_command.h')
-rw-r--r--mixlib/mix_vm_command.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/mixlib/mix_vm_command.h b/mixlib/mix_vm_command.h
index 89a2c2b..a805e68 100644
--- a/mixlib/mix_vm_command.h
+++ b/mixlib/mix_vm_command.h
@@ -1,7 +1,7 @@
/* -*-c-*- ---------------- mix_vm_command.h :
* declarations for mix_vm_command_t, describing commands issued to a vm
* ------------------------------------------------------------------
- * Last change: Time-stamp: <01/02/26 02:41:26 jose>
+ * Last change: Time-stamp: <01/03/09 21:53:43 jose>
* ------------------------------------------------------------------
* Copyright (C) 2001 Free Software Foundation, Inc.
*
@@ -107,6 +107,24 @@ extern gboolean
mix_vm_cmd_dispatcher_dispatch_text (mix_vm_cmd_dispatcher_t *dis,
const gchar *text);
+
+/* get total uptime */
+extern mix_time_t
+mix_vm_cmd_dispatcher_get_uptime (const mix_vm_cmd_dispatcher_t *dis);
+
+/* get program total time */
+extern mix_time_t
+mix_vm_cmd_dispatcher_get_progtime (const mix_vm_cmd_dispatcher_t *dis);
+
+/* get time lapse */
+extern mix_time_t
+mix_vm_cmd_dispatcher_get_laptime (const mix_vm_cmd_dispatcher_t *dis);
+
+/* toggle time printing */
+extern void
+mix_vm_cmd_dispatcher_print_time (mix_vm_cmd_dispatcher_t * dis,
+ gboolean print);
+
/* install hooks */
extern void
mix_vm_cmd_dispatcher_pre_hook (mix_vm_cmd_dispatcher_t *dis,