Displaying 4 results from an estimated 4 matches for "elapsed_seconds".
2010 Jun 22
0
BCB5 CGI.EXE in Ubuntu Lucid 64bit
...;vcl.h>
#include <conio.h>
#pragma hdrstop
#pragma argsused
int main(int argc, char* argv[])
{
cprintf("small test");
return 0;
}
Launched from Bash Script:
Code:
before="$(date +%s%N)"
wine ./testProject1.exe
after="$(date +%s%N)"
elapsed_seconds="$(expr $after - $before)"
echo Elapsed time for code block: $elapsed_seconds
Problem 1.
On 32bit ( Ubuntu Hardy 8.04 wine-1.1.26) it loads and exists in about 0.2 seconds.
On 64bit (Ubuntu Lucid. 10.04 wine-1.1.26 , wine-1.1.38 and latest in repository) it takes about 1.1 seconds t...
2002 Jan 13
1
rsynd-2.5.1 / batch.c patch
....tpu AND PRJ_SRC:BATCH.TPU on
12-JAN-2002 21:21:52.41 OPENVMS_AXP */
/* -*- c-file-style: "linux" -*-
Weiss 1/1999
@@ -22,7 +23,7 @@
struct file_list *batch_flist;
-void create_batch_file_ext()
+void create_batch_file_ext(void)
{
struct tm *timeptr;
time_t elapsed_seconds;
@@ -103,7 +104,7 @@
if (i == flist_count - 1) {
fdb_close = 1;
}
- write_char_bufs(fptr[i]->sum);
+ write_char_bufs((char *)fptr[i]->sum);
}
}
@@ -175,7 +176,7 @@
close(fdb);
}
-str...
2002 Feb 11
0
RSYNC 2.5.2 type mismatches in batch.c
...c.tpu AND PRJ_SRC:BATCH.TPU on
9-FEB-2002 23:09:26.95 OPENVMS_AXP */
/* -*- c-file-style: "linux" -*-
Weiss 1/1999
@@ -22,7 +23,7 @@
struct file_list *batch_flist;
-void create_batch_file_ext()
+void create_batch_file_ext(void)
{
struct tm *timeptr;
time_t elapsed_seconds;
@@ -108,7 +109,7 @@
if (i == flist_count - 1) {
fdb_close = 1;
}
- write_char_bufs(fptr[i]->sum);
+ write_char_bufs((char *)fptr[i]->sum);
}
}
@@ -184,7 +185,7 @@
close(fdb);
}
-str...
2002 Feb 07
1
Latest version of the batch mode cleanup patch
...] = "rsync_delta.";
-char rsync_argvs_file[27] = "rsync_argvs.";
-
-char batch_file_ext[15];
-
-int fdb;
-int fdb_delta;
-int fdb_open;
-int fdb_close;
+extern char *batch_prefix;
struct file_list *batch_flist;
-void create_batch_file_ext()
-{
- struct tm *timeptr;
- time_t elapsed_seconds;
-
- /* Save run date and time to use for batch file extensions */
- time(&elapsed_seconds);
- timeptr = localtime(&elapsed_seconds);
-
- sprintf(batch_file_ext, "%4d%02d%02d%02d%02d%02d",
- timeptr->tm_year + 1900, timeptr->tm_mon + 1,
- timeptr->tm_mday, timeptr->t...