aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/LuaSL/src/LuaSL_main.c b/LuaSL/src/LuaSL_main.c
index 47e4881..4bd3bc5 100644
--- a/LuaSL/src/LuaSL_main.c
+++ b/LuaSL/src/LuaSL_main.c
@@ -212,7 +212,7 @@ main(int argc, char **argv)
212 snprintf(buf, sizeof(buf), "%s/Test sim/objects", PACKAGE_DATA_DIR); 212 snprintf(buf, sizeof(buf), "%s/Test sim/objects", PACKAGE_DATA_DIR);
213 eina_file_dir_list(buf, EINA_TRUE, dirList_cb, &game); 213 eina_file_dir_list(buf, EINA_TRUE, dirList_cb, &game);
214 diff = timeDiff(&thisTime2, &lastTime2); 214 diff = timeDiff(&thisTime2, &lastTime2);
215 printf("Compiling %d scripts took %f seconds, that's %f scripts per second.\n", scriptCount, diff, scriptCount / diff); 215 printf("Compiling %d LSL scripts took %f seconds, that's %f scripts per second.\n", scriptCount, diff, scriptCount / diff);
216 216
217 lslCount = scriptCount; 217 lslCount = scriptCount;
218 diff0 = diff; 218 diff0 = diff;
@@ -221,7 +221,7 @@ main(int argc, char **argv)
221 snprintf(buf, sizeof(buf), "%s/testLua", PACKAGE_DATA_DIR); 221 snprintf(buf, sizeof(buf), "%s/testLua", PACKAGE_DATA_DIR);
222 eina_file_dir_list(buf, EINA_TRUE, dirListLua_cb, &game); 222 eina_file_dir_list(buf, EINA_TRUE, dirListLua_cb, &game);
223 diff = timeDiff(&thisTime2, &lastTime2); 223 diff = timeDiff(&thisTime2, &lastTime2);
224 printf("Compiling %d Lua scripts took %f seconds, that's %f scripts per second. B-).\n", scriptCount, diff, scriptCount / diff); 224 printf("Compiling %d Lua scripts took %f seconds, that's %f scripts per second.\n\n", scriptCount, diff, scriptCount / diff);
225 225
226 printf("Combined estimate of compiling speed is %f scripts per second.\n", 1 / ((diff0 / lslCount) + (diff / scriptCount))); 226 printf("Combined estimate of compiling speed is %f scripts per second.\n", 1 / ((diff0 / lslCount) + (diff / scriptCount)));
227 227