Skip to content

Commit

Permalink
changed var names to better convey meaning
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmerrill committed Dec 4, 2019
1 parent f73f717 commit 5a0c539
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/arkouda_server.chpl
Expand Up @@ -59,7 +59,7 @@ proc main() {
// peel off the command
var fields = reqMsg.split(1);
var cmd = fields[1];
var t2 = t1.elapsed();
var s0 = t1.elapsed();

if v {
if cmd == "array" { // has binary data in it's payload
Expand All @@ -68,7 +68,7 @@ proc main() {
else {
writeln("reqMsg: ", reqMsg);
}
writeln(">>> %s started at %.17r sec".format(cmd, t2));
writeln(">>> %s started at %.17r sec".format(cmd, s0));
try! stdout.flush();
}

Expand Down Expand Up @@ -160,7 +160,7 @@ proc main() {
if (memTrack) {writeln("bytes of memoryUsed() = ",memoryUsed()); try! stdout.flush();}

// end timer for command processing
if v{writeln("<<< %s took %.17r sec".format(cmd, t1.elapsed() - t2)); try! stdout.flush();}
if v{writeln("<<< %s took %.17r sec".format(cmd, t1.elapsed() - s0)); try! stdout.flush();}
}
t1.stop();

Expand Down

0 comments on commit 5a0c539

Please sign in to comment.