summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/samples/workload/bwa/bwa.patch
blob: 5599ca31984a3d1353b391a5336aa4c4ae308fee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/utils.c b/utils.c
index 9ceb1be..323299f 100644
--- a/utils.c
+++ b/utils.c
@@ -301,6 +301,7 @@ long peakrss(void)
 #ifdef __linux__
 	return r.ru_maxrss * 1024;
 #else
-	return r.ru_maxrss;
+	/*return r.ru_maxrss;*/
+	return 0;
 #endif
 }