X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=unifracweightedcommand.cpp;h=9cda8f2ec14c4accb670c174602fb5c9ab2d5502;hb=9b884118e97081d743c7b001216567f9b9131258;hp=28d94d0adf502d21860099ba2928081169715e01;hpb=e03de8796670a0c747aed63483daa09c8b86aea0;p=mothur.git diff --git a/unifracweightedcommand.cpp b/unifracweightedcommand.cpp index 28d94d0..9cda8f2 100644 --- a/unifracweightedcommand.cpp +++ b/unifracweightedcommand.cpp @@ -116,6 +116,8 @@ int UnifracWeightedCommand::execute() { if (abort == true) { return 0; } + int start = time(NULL); + Progress* reading; if (random) { reading = new Progress("Comparing to random:", iters); } @@ -264,6 +266,8 @@ int UnifracWeightedCommand::execute() { return 0; } + m->mothurOut("It took " + toString(time(NULL) - start) + " secs to run unifrac.weighted."); m->mothurOutEndLine(); + m->mothurOutEndLine(); m->mothurOut("Output File Names: "); m->mothurOutEndLine(); for (int i = 0; i < outputNames.size(); i++) { m->mothurOut(outputNames[i]); m->mothurOutEndLine(); }