• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

sst/core/sst_types.h

00001 // Copyright 2009-2010 Sandia Corporation. Under the terms
00002 // of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S.
00003 // Government retains certain rights in this software.
00004 // 
00005 // Copyright (c) 2009-2010, Sandia Corporation
00006 // All rights reserved.
00007 // 
00008 // This file is part of the SST software package. For license
00009 // information, see the LICENSE file in the top level directory of the
00010 // distribution.
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 } // namespace SST
00039 
00040 #endif

Generated on Fri Oct 22 2010 11:02:13 for SST by  doxygen 1.7.1