Skip to content

Commit

Permalink
Remove monotime dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
nwoodmsft committed Dec 5, 2017
1 parent fa9500f commit 0a096f4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dataplane-drivers/windataplane/win_dataplane.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"fmt"
"time"

"github.com/gavv/monotime"
log "github.com/sirupsen/logrus"
"github.com/projectcalico/felix/jitter"
"github.com/projectcalico/felix/proto"
Expand Down Expand Up @@ -232,12 +231,12 @@ func (d *WindowsDataplane) loopUpdatingDataplane() {
beingThrottled = false
}
log.Info("Applying dataplane updates")
applyStart := monotime.Now()
applyStart := time.Now()

// Actually apply the changes to the dataplane.
d.apply()

applyTime := monotime.Since(applyStart)
applyTime := time.Since(applyStart)
log.WithField("msecToApply", applyTime.Seconds()*1000.0).Info(
"Finished applying updates to dataplane.")
} else {
Expand Down

0 comments on commit 0a096f4

Please sign in to comment.