From 69f2911e04ffb1b19eef1fafb8c040af271f656e Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Thu, 15 Jul 2010 18:09:46 -0800 Subject: creating branch for adding support for CUDA 3.x and Fermi [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 6829] --- src/intersim/traffic.hpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/intersim/traffic.hpp (limited to 'src/intersim/traffic.hpp') diff --git a/src/intersim/traffic.hpp b/src/intersim/traffic.hpp new file mode 100644 index 0000000..c0a796c --- /dev/null +++ b/src/intersim/traffic.hpp @@ -0,0 +1,15 @@ +#ifndef _TRAFFIC_HPP_ +#define _TRAFFIC_HPP_ + +#include "config_utils.hpp" + +typedef int (*tTrafficFunction)( int, int ); + +void InitializeTrafficMap( ); + +void ResetTraffic( ); +void StepTrafficFunctions( ); + +tTrafficFunction GetTrafficFunction( const Configuration& config ); + +#endif -- cgit v1.3