Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
move timer.rs to ethcore (#6437)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hawstein authored and gavofyork committed Sep 2, 2017
1 parent 6b8c9ca commit 0b5285c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion ethcore/src/client/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ use itertools::Itertools;

// util
use hash::keccak;
use util::{Bytes, PerfTimer, Mutex, RwLock, MutexGuard};
use timer::PerfTimer;
use util::{Bytes, Mutex, RwLock, MutexGuard};
use util::{journaldb, DBValue, TrieFactory, Trie};
use util::{U256, H256, Address, H2048};
use util::trie::TrieSpec;
Expand Down
1 change: 1 addition & 0 deletions ethcore/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ pub mod service;
pub mod snapshot;
pub mod spec;
pub mod state;
pub mod timer;
pub mod trace;
pub mod transaction;
pub mod verification;
Expand Down
1 change: 1 addition & 0 deletions ethcore/src/miner/miner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ use std::collections::{BTreeMap, HashSet};
use std::sync::Arc;

use util::*;
use timer::PerfTimer;
use using_queue::{UsingQueue, GetAction};
use account_provider::{AccountProvider, SignError as AccountError};
use state::State;
Expand Down
File renamed without changes.
2 changes: 0 additions & 2 deletions util/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ pub mod nibblevec;
pub mod semantic_version;
pub mod snappy;
pub mod cache;
mod timer;

pub use misc::*;
pub use hashdb::*;
Expand All @@ -142,7 +141,6 @@ pub use triehash::*;
pub use trie::{Trie, TrieMut, TrieDB, TrieDBMut, TrieFactory, TrieError, SecTrieDB, SecTrieDBMut};
pub use semantic_version::*;
pub use kvdb::*;
pub use timer::*;
pub use error::*;
pub use bytes::*;
pub use vector::*;
Expand Down

0 comments on commit 0b5285c

Please sign in to comment.