|   |
  |
Sat Oct 30 01:43:22 2004 |
raeburn - Ticket created
|
|
|
| |
  |
From: raeburn@mit.edu
Subject: CVS Commit
Changes suggested by lxs to reduce stat frequency to once per second.
In parallel loops creating and destroying krb5 contexts on Mac OS X, this
seems to improve performance by 10%, though it's hard to be sure because
the times are variable.
* prof_int.h (STAT_ONCE_PER_SECOND): Define.
(struct _prf_data_t) [STAT_ONCE_PER_SECOND]: New field LAST_STAT.
* prof_file.c (scan_shared_trees_locked, scan_shared_trees_unlocked): Redefine
to do nothing for now.
(profile_update_file_data) [STAT_ONCE_PER_SECOND]: If the current time is the
same time as the last stat of the file, just return; otherwise, save away the
current time.
To generate a diff of this commit:
cvs diff -r1.168 -r1.169 krb5/src/util/profile/ChangeLog
cvs diff -r1.47 -r1.48 krb5/src/util/profile/prof_file.c
cvs diff -r1.40 -r1.41 krb5/src/util/profile/prof_int.h
|
Download (untitled) 838b
|
|   |
  |
Sat Oct 30 01:43:23 2004 |
raeburn - Status changed from new to open
|
|
|
|   |
  |
Sat Oct 30 01:43:24 2004 |
raeburn - Requestor raeburn@mit.edu added
|
|
|
|   |
  |
Wed Nov 17 16:59:04 2004 |
raeburn - Status changed from open to resolved
|
|
|
|   |
  |
Wed Nov 17 16:59:05 2004 |
raeburn - Component krb5-libs added
|
|
|
|   |
  |
Wed Nov 17 16:59:06 2004 |
raeburn - Target_Version 1.4 added
|
|
|
|   |
  |
Wed Nov 17 16:59:06 2004 |
raeburn - Tags pullup added
|
|
|
|   |
  |
Wed Nov 17 18:20:56 2004 |
tlyu - Version_Fixed 1.4 added
|
|
|
|   |
  |
Wed Nov 17 18:20:56 2004 |
tlyu - Correspondence added
|
|
|
| |
  |
From: tlyu@mit.edu
Subject: CVS Commit
pullup from trunk
To generate a diff of this commit:
cvs diff -r1.168.2.2 -r1.168.2.3 krb5/src/util/profile/ChangeLog
cvs diff -r1.47 -r1.47.2.1 krb5/src/util/profile/prof_file.c
cvs diff -r1.40 -r1.40.2.1 krb5/src/util/profile/prof_int.h
|
Download (untitled) 247b
|