summaryrefslogtreecommitdiff
path: root/simulations/results/scheduler/hint_fw.awk
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-11-11 15:47:19 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-11-11 15:47:19 +0100
commitc2affb00ff404613f45b51cd97b50773982fde5f (patch)
tree9a1263afec087c958b32d2ad48e691fc69db0df6 /simulations/results/scheduler/hint_fw.awk
parentb2ad7e6897077899ce70ecc8a4d994b3adc010ae (diff)
Minor changes
Diffstat (limited to 'simulations/results/scheduler/hint_fw.awk')
-rwxr-xr-xsimulations/results/scheduler/hint_fw.awk15
1 files changed, 15 insertions, 0 deletions
diff --git a/simulations/results/scheduler/hint_fw.awk b/simulations/results/scheduler/hint_fw.awk
new file mode 100755
index 0000000..594df94
--- /dev/null
+++ b/simulations/results/scheduler/hint_fw.awk
@@ -0,0 +1,15 @@
+#!/usr/bin/awk -f
+
+BEGIN {
+ RS="\n"
+ FS=" "
+ CSV_HEADER="node,ts"
+ CSV_DATA=""
+ skip=1
+ print(CSV_HEADER)
+}
+
+/forward a hint successfully/ {
+ gsub("]","",$0)
+ print($4","$2)
+}