This commit is contained in:
aozhiwei 2024-07-20 15:35:19 +08:00
parent 067b4e881d
commit a64b6da3af
2 changed files with 13 additions and 3 deletions

View File

@ -1,7 +1,7 @@
package task
import (
"f5"
)
type contribution struct {
@ -9,8 +9,18 @@ type contribution struct {
}
func (this* contribution) init() {
go this.calc()
}
func (this* contribution) unInit() {
}
func (this* contribution) stat(time int64) {
}
func (this* contribution) calc() {
for true {
nowTime := f5.GetApp().GetRealSeconds()
this.stat(nowTime)
}
}

2
third_party/q5 vendored

@ -1 +1 @@
Subproject commit dd6cf609347a05742c56c1e5b7f1f671b4f20ebd
Subproject commit b9c7e05031727615fcd1c9c8355f66046701cc13