Move util::time::duration_from_seconds to profile::time

This commit is contained in:
Anthony Ramine 2016-06-29 17:44:17 +02:00
parent f8f00fac5b
commit 5a576e873e
4 changed files with 16 additions and 24 deletions

View file

@ -12,8 +12,8 @@ use std::borrow::ToOwned;
use std::cmp::Ordering;
use std::collections::HashMap;
use std::thread;
use time::duration_from_seconds;
use util::thread::spawn_named;
use util::time::duration_from_seconds;
pub struct Profiler {
/// The port through which messages are received.