1 // the benchmark controller
3 package benchcontroller
11 type BenchControllerConfig struct {
21 func CreateController()(contConfig *BenchControllerConfig)
23 bcConfig := new(BenchControllerConfig);
28 func MainLoop(conf *BenchControllerConfig, commInChan chan int, commOutChan chan int)
31 time.Sleep(1000000000);
33 os.Stdout.WriteString("got a coms\n");
37 // this means shutdown
38 os.Stdout.WriteString("shutdown\n");
41 // get ready to bench - start the clients
42 os.Stdout.WriteString("ready clients\n");
45 os.Stdout.WriteString("start clients\n");