sim/erc32: Fix incorrect simulator performance report
[deliverable/binutils-gdb.git] / sim / erc32 / sis.h
index f49d45dfd672c3058786739401d7ef3705be8a0b..dc02c65f6626111aed6da447e87bd65c19dd4a27 100644 (file)
@@ -110,14 +110,14 @@ struct pstate {
     float32         freq;      /* Simulated processor frequency */
 
 
-    uint64          tottime;
+    double          tottime;
     uint64          ninst;
     uint64          fholdt;
     uint64          holdt;
     uint64          icntt;
     uint64          finst;
     uint64          simstart;
-    uint64          starttime;
+    double          starttime;
     uint64          tlimit;    /* Simulation time limit */
     uint64          pwdtime;   /* Cycles in power-down mode */
     uint64          nstore;    /* Number of load instructions */
@@ -198,6 +198,7 @@ extern void reset_all (void);
 extern void    sys_reset (void);
 extern void    sys_halt (void);
 extern int     bfd_load (char *fname);
+extern double  get_time (void);
 
 /* exec.c */
 extern int     dispatch_instruction (struct pstate *sregs);
This page took 0.036228 seconds and 4 git commands to generate.