Displaying 4 results from an estimated 4 matches for "time_diff".
2011 Sep 13
1
Min of
...ble to learn about
ddply. I have another question that is more trivial and cannot seem to find
help on IRC and do not want to bother Andrie again. I can't seem to figure
out what to google for, so I thought I'd ask here.
I have:
library(plyr)
df_diff <- ddply(df, .(SOURCE), summarize,
TIME_DIFF=-unclass(diff(REQUEST_DATE)))
df_diff
SOURCE TIME_DIFF
1 A 7.55
2 A 5.55
3 A 3.40
4 D 35.00
5 D 563.00
6 D 37.00
7 D 35.00
8 D 996.00
... with a lot more records.
I want to essentially sort SOURCE asc, TIME_DIFF asc and ou...
2012 Feb 08
2
slow creating files
...7890";
time_t start, end;
double diff;
time(&start);
to=fopen(argv[1], "w+");
for(i=0; i < fsize/100; i++)
{
fprintf(to, "\n%7d-%s",i, str);
/ fflush(to); // makes it slow!/
}
fclose(to);
time(&end);
diff=difftime(end,start);
printf("\n \t time_diff = %.2lf", diff);
}
This was started on Win7 client PC, It creates about 40 mbytes size file
in pointed path.
Comparing timings on our samba share and win2k3 share gives: ~40 seconds
on Samba and on 3-4 seconds win2k3!
That means that fflush cause dramatically slow down of fileshare.
Alex...
2010 Oct 10
1
Dovecot 2.0 lock upgrade assertion failure
...want_rotate = 16
index_undeleted = false
delete_index = false
ret = 0
#9 0x00007fe8060d2d16 in maildir_sync_index_finish (ctx=0x1cfd8f0,
success=<value optimized out>) at maildir-sync-index.c:332
mbox = (struct maildir_mailbox *) 0x1aa2af0
time_diff = <value optimized out>
ret = 0
#10 0x00007fe8060ce0b2 in maildir_transaction_save_commit_pre
(_ctx=0x1d47a40)
at maildir-save.c:984
_t = (struct mailbox_transaction_context *) 0x1d0bd80
sync_flags = <value optimized out>
ret = <value optimized out...
2013 Nov 20
0
Dovecot 2.2.5: Panic: file mail-transaction-log.c: line 350 (mail_transaction_log_set_mailbox_sync_pos)
...<value optimized out>
index_undeleted = false
delete_index = false
ret = <value optimized out>
#8 0x00002b07bde25e4d in maildir_sync_index_finish (ctx=0x1776e570,
success=<value optimized out>) at maildir-sync-index.c:331
mbox = 0x1776ea30
time_diff = <value optimized out>
ret = 0
#9 0x00002b07bde22186 in maildir_transaction_save_commit_pre
(_ctx=0x177800e0) at maildir-save.c:1029
ctx = <value optimized out>
_t = 0x17779bc0
sync_flags = <value optimized out>
ret = 0
__FUNCTION_...