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 string, commOutChan chan string)
31 time.Sleep(1000000000);
34 fmt.Printf("coms: %s\n", i);
38 // this means shutdown
39 os.Stdout.WriteString("shutdown\n");
42 // get ready to bench - start the clients
43 os.Stdout.WriteString("ready clients\n");
46 os.Stdout.WriteString("start clients\n");