Pull perf into a separate module. (#6718)

automerge
This commit is contained in:
anatoly yakovenko
2019-11-04 20:13:43 -08:00
committed by Grimes
parent 3133ee2401
commit b825d04597
36 changed files with 742 additions and 664 deletions

View File

@@ -128,7 +128,7 @@ impl Validator {
warn!("vote pubkey: {:?}", vote_account);
warn!(
"CUDA is {}abled",
if solana_ledger::perf_libs::api().is_some() {
if solana_perf::perf_libs::api().is_some() {
"en"
} else {
"dis"