pmt: reformat code
This commit is contained in:
@@ -91,8 +91,7 @@ bool memoryTestFunction::run() {
|
||||
const double writeTime =
|
||||
std::chrono::duration<double>(endWrite - startWrite).count();
|
||||
println("Sequential write speed: %3.f MB/s",
|
||||
(static_cast<double>(testFileSize) / (1024.0 * 1024.0)) /
|
||||
writeTime);
|
||||
(static_cast<double>(testFileSize) / (1024.0 * 1024.0)) / writeTime);
|
||||
LOGN(MTFUN, INFO) << "Sequential write test done!" << std::endl;
|
||||
|
||||
if (!doNotReadTest) {
|
||||
|
||||
@@ -27,7 +27,8 @@ bool realPathFunction::init(CLI::App &_app) {
|
||||
cmd->add_option("partition(s)", partitions, "Partition name(s)")
|
||||
->required()
|
||||
->delimiter(',');
|
||||
cmd->add_flag("--real-link-path", realLinkPath, "Print real link path(s)")->default_val(false);
|
||||
cmd->add_flag("--real-link-path", realLinkPath, "Print real link path(s)")
|
||||
->default_val(false);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -49,8 +50,7 @@ bool realPathFunction::run() {
|
||||
|
||||
if (realLinkPath)
|
||||
println("%s", Variables->PartMap->getRealLinkPathOf(partition).data());
|
||||
else
|
||||
println("%s", Variables->PartMap->getRealPathOf(partition).data());
|
||||
else println("%s", Variables->PartMap->getRealPathOf(partition).data());
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user