-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat/#72] Add: scoring pipeline(response value and time also)
- Loading branch information
1 parent
2edc238
commit f645c16
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
resources/images/professor-ubuntu/server/getValueAndTime.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
start=`date +%s.%N` | ||
|
||
/usr/bin/python3 $1 > values.txt | ||
|
||
finish=`date +%s.%N` | ||
diff=$( echo "$finish - $start" | bc -l ) | ||
|
||
echo $diff > time.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters