code: func handleGetHashesPerSec(s *rpcServer, cmd interface{}, closeChan <-chan struct{}) (interface{}, error) {
  	return int64(s.cfg.CPUMiner.HashesPerSecond()), nil
  }
docs: // handleGetHashesPerSec implements the gethashespersec command.