move timer.rs to ethcore (#6437)

This commit is contained in:
Hawstein 2017-09-02 16:54:39 +08:00 committed by Gav Wood
parent 6b8c9cac23
commit 0b5285c282
5 changed files with 4 additions and 3 deletions

View File

@ -24,7 +24,8 @@ use itertools::Itertools;
// util // util
use hash::keccak; 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::{journaldb, DBValue, TrieFactory, Trie};
use util::{U256, H256, Address, H2048}; use util::{U256, H256, Address, H2048};
use util::trie::TrieSpec; use util::trie::TrieSpec;

View File

@ -151,6 +151,7 @@ pub mod service;
pub mod snapshot; pub mod snapshot;
pub mod spec; pub mod spec;
pub mod state; pub mod state;
pub mod timer;
pub mod trace; pub mod trace;
pub mod transaction; pub mod transaction;
pub mod verification; pub mod verification;

View File

@ -19,6 +19,7 @@ use std::collections::{BTreeMap, HashSet};
use std::sync::Arc; use std::sync::Arc;
use util::*; use util::*;
use timer::PerfTimer;
use using_queue::{UsingQueue, GetAction}; use using_queue::{UsingQueue, GetAction};
use account_provider::{AccountProvider, SignError as AccountError}; use account_provider::{AccountProvider, SignError as AccountError};
use state::State; use state::State;

View File

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