Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/orc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2010-08-20 00:31:40 +0400
committerDavid Schleef <ds@schleef.org>2010-08-20 00:31:40 +0400
commite81f692bf3867c43099464cc67410898428f304e (patch)
treebc2dd2b32394c92314e1fdb0922ca6b7f38422fe /orc-test/orctest.c
parent1a9743a967a9ac280d8223eb891c919b2d22a5b4 (diff)
Add perf testing of emulated code
Diffstat (limited to 'orc-test/orctest.c')
-rw-r--r--orc-test/orctest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/orc-test/orctest.c b/orc-test/orctest.c
index 673eb2b..547a8aa 100644
--- a/orc-test/orctest.c
+++ b/orc-test/orctest.c
@@ -955,6 +955,10 @@ orc_test_performance_full (OrcProgram *program, int flags,
orc_profile_start (&prof);
orc_executor_run_backup (ex);
orc_profile_stop (&prof);
+ } else if (flags & ORC_TEST_FLAGS_EMULATE) {
+ orc_profile_start (&prof);
+ orc_executor_emulate (ex);
+ orc_profile_stop (&prof);
} else {
orc_profile_start (&prof);
orc_executor_run (ex);