cachesim
A cache simulator
|
00001 /* -*- mode:c; coding: utf-8 -*- */ 00002 00008 #ifndef RANDOM_H_INCLUDED 00009 #define RANDOM_H_INCLUDED 00010 00011 #include "parse_config.h" 00012 00013 struct Random; 00014 typedef struct Random Random; 00015 00020 typedef struct RandomOps 00021 { 00027 Random *(*free)(Random *rnd); 00035 int (*next)(Random *rnd, int n); 00036 } RandomOps; 00037 00043 Random *random_create(ConfigFile *cfg); 00044 00045 #endif 00046 00047 /* 00048 * Local variables: 00049 * c-basic-offset: 4 00050 * End: 00051 */