git://git.iain.cx/iain
/
pstop.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
bump up version to 0.0.15
[pstop.git]
/
performance_schema
/
relative_time.go
1
package performance_schema
2
3
import (
4
"time"
5
)
6
7
type InitialTime struct {
8
initial_time time.Time
9
}
10
11
func (t *InitialTime) SetNow() {
12
t.initial_time = time.Now()
13
}
14
15
func (t InitialTime) Last() time.Time {
16
return t.initial_time
17
}