github.com/linapex/ethereum-go-chinese@v0.0.0-20190316121929-f8b7a73c3fa1/dashboard/cpu_windows.go (about)

     1  
     2  //<developer>
     3  //    <name>linapex 曹一峰</name>
     4  //    <email>linapex@163.com</email>
     5  //    <wx>superexc</wx>
     6  //    <qqgroup>128148617</qqgroup>
     7  //    <url>https://jsq.ink</url>
     8  //    <role>pku engineer</role>
     9  //    <date>2019-03-16 19:16:37</date>
    10  //</624450087254233088>
    11  
    12  
    13  package dashboard
    14  
    15  //GetProcessCPutime在Windows上返回0,因为没有要解析的系统调用
    16  //实际进程的CPU时间。
    17  func getProcessCPUTime() float64 {
    18  	return 0
    19  }
    20