mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-28 22:08:12 +09:00
Add infobar
This commit is contained in:
@@ -18,12 +18,12 @@ func GetMemStats() string {
|
||||
|
||||
var start time.Time
|
||||
|
||||
func tic(s string) {
|
||||
func Tic(s string) {
|
||||
log.Println("START:", s)
|
||||
start = time.Now()
|
||||
}
|
||||
|
||||
func toc() {
|
||||
func Toc() {
|
||||
end := time.Now()
|
||||
log.Println("END: ElapsedTime in seconds:", end.Sub(start))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user