00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef _SST_SST_H
00015 #define _SST_SST_H
00016
00017 #include <sst_stdint.h>
00018
00019 namespace SST {
00020
00021 typedef unsigned long ComponentId_t;
00022 typedef unsigned long LinkId_t;
00023 typedef uint64_t Cycle_t;
00024 typedef uint64_t SimTime_t;
00025 typedef double Time_t;
00026
00027 typedef double watts;
00028 typedef double joules;
00029 typedef double farads;
00030 typedef double volts;
00031
00032 #ifndef LIKELY
00033 #define LIKELY(x) __builtin_expect((int)(x),1)
00034 #define UNLIKELY(x) __builtin_expect((int)(x),0)
00035 #endif
00036
00037
00038 }
00039
00040 #endif