MCPcopy Create free account
hub / github.com/SWI-Prolog/packages-jpl / test_4

Method test_4

src/examples/java/time/Time.java:119–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117 }
118
119 static void test_4() {
120 Variable Y = new Variable("Y");
121 Query query = new Query("noop_bind", new Term[] { tree, Y });
122 System.out.print("noop_bind");
123 for (int i = 0; i < num_trials; ++i) {
124 timer.start();
125 query.oneSolution();
126 timer.stop();
127 data[4][i] = timer.getElapsedTimeInMillis();
128 System.out.print("");
129 }
130 System.out.println(" done");
131 }
132
133 static java.text.NumberFormat format = java.text.NumberFormat.getInstance();
134 static {

Callers 1

run_testsMethod · 0.95

Calls 4

oneSolutionMethod · 0.95
startMethod · 0.80
stopMethod · 0.80

Tested by

no test coverage detected