projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CLOCKSの型を修正
[YACASL2.git]
/
include
/
struct.h
diff --git
a/include/struct.h
b/include/struct.h
index
a247605
..
e862786
100644
(file)
--- a/
include/struct.h
+++ b/
include/struct.h
@@
-1,6
+1,7
@@
#ifndef YACASL2_CASL2_INCLUDED
#define YACASL2_CASL2_INCLUDED
#ifndef YACASL2_CASL2_INCLUDED
#define YACASL2_CASL2_INCLUDED
+#include <time.h>
#include "word.h"
/**
#include "word.h"
/**
@@
-39,7
+40,7
@@
typedef struct {
CPU *cpu; /**<CPU */
WORD *memory; /**<メモリ */
int memsize; /**<メモリサイズ */
CPU *cpu; /**<CPU */
WORD *memory; /**<メモリ */
int memsize; /**<メモリサイズ */
-
unsigned clocks;
/**<クロック周波数 */
+
clock_t clocks;
/**<クロック周波数 */
} SYSTEM;
extern SYSTEM *sys;
} SYSTEM;
extern SYSTEM *sys;