diff options
Diffstat (limited to 'mixlib/mix_vm.h')
-rw-r--r-- | mixlib/mix_vm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mixlib/mix_vm.h b/mixlib/mix_vm.h index 62ba34d..91d1d28 100644 --- a/mixlib/mix_vm.h +++ b/mixlib/mix_vm.h @@ -28,6 +28,7 @@ #include "mix_code_file.h" #include "mix_src_file.h" #include "mix_symbol_table.h" +#include "mix_vm_clock.h" /* Comparison flag */ typedef enum { mix_LESS, mix_EQ, mix_GREAT } mix_cmpflag_t; @@ -178,6 +179,10 @@ mix_vm_clear_breakpoint_address (mix_vm_t *vm, guint address) ; extern void mix_vm_clear_all_breakpoints (mix_vm_t *vm); +/* Get the vm uptime, defined as the time spent executing instructions */ +extern mix_time_t +mix_vm_get_uptime (const mix_vm_t *vm); + #endif /* MIX_VM_H */ |