From b16153dea07e544461bf49bf4c631c1d02bba30d Mon Sep 17 00:00:00 2001 From: Snigdha Saha <snigdhas2572@gmail.com> Date: Wed, 1 Mar 2023 13:16:46 -0800 Subject: [PATCH] runtime counter --- tests/edu/caltech/cs2/helpers/RuntimeCounter.java | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/edu/caltech/cs2/helpers/RuntimeCounter.java diff --git a/tests/edu/caltech/cs2/helpers/RuntimeCounter.java b/tests/edu/caltech/cs2/helpers/RuntimeCounter.java new file mode 100644 index 0000000..960c169 --- /dev/null +++ b/tests/edu/caltech/cs2/helpers/RuntimeCounter.java @@ -0,0 +1,9 @@ +package edu.caltech.cs2.helpers; + +public class RuntimeCounter { + public static int NUM_CALLS = 0; + + public static void inc() { + NUM_CALLS++; + } +} -- GitLab