Log of /httpd/flood/trunk/flood_farm.c
Parent Directory
|
Revision Log
Revision
697920 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 22 18:13:46 2008 UTC
(15 years, 10 months ago)
by
jerenkrantz
File length: 10100 byte(s)
Diff to
previous 653656
(
colored)
Protect relative times report output with a mutex to avoid overlap.
* flood_config.h
(config_t): Add thread mutex to config structure.
* flood_farm.c
(run_farm): Create thread mutex when we create farmers structure.
* flood_report_relative_times.c
(relative_report_t): New structure to hold pointer to a config.
(relative_times_report_init): Create report structure and stash config.
(relative_times_process_stats): Use thread mutex to lock printf calls.
* CHANGES: Update.
Revision
490946 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 29 07:49:58 2006 UTC
(17 years, 7 months ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood_farm.c
File length: 10023 byte(s)
Diff to
previous 490939
(
colored)
Update flood to the new license header.
* flood/NOTICE: Update the copyright year to the date of first publication.
* flood/flood_farmer.c, flood/flood_report_relative_times.h,
flood/flood_simple_reports.h, flood/flood_test.c, flood/flood.c,
flood/flood_farmer.h, flood/flood_socket_generic.c, flood/flood_farm.c,
flood/flood_socket_generic.h, flood/flood_farm.h, flood/flood_config.c,
flood/flood_net_ssl.c, flood/flood_config.h, flood/flood_net_ssl.h,
flood/flood_socket_keepalive.c, flood/flood_easy_reports.c,
flood/flood_round_robin.c, flood/flood_socket_keepalive.h,
flood/flood_easy_reports.h, flood/flood_round_robin.h, flood/flood_net.c,
flood/flood_net.h, flood/flood_profile.c, flood/flood_profile.h,
flood/flood_report_relative_times.c, flood/flood_simple_reports.c:
Update to new license header.
(Used committers/relicense/src/perl/update-AL20.pl)
Revision
490939 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 29 07:34:12 2006 UTC
(17 years, 7 months ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood_farm.c
File length: 9840 byte(s)
Diff to
previous 394790
(
colored)
Better support Win32/VS2005 out-of-the-box with trunk.
* flood_farm.c
(run_farm): Accept APR_INCOMPLETE from apr_thread_join for Win32.
* flood/flood_pcre.c, flood/flood_pcre.h: Import PCRE wrappers from httpd.
* flood/flood_round_robin.c: Bring in PCRE wrappers if needed.
* flood/NOTICE: Update; note PCRE wrappers inclusion.
* flood/flood.vcproj: Add VS2005 project file.
Revision
90619 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 24 05:59:58 2001 UTC
(22 years, 11 months ago)
by
jerenkrantz
Original Path:
httpd/test/trunk/flood/flood_farm.c
File length: 11528 byte(s)
Diff to
previous 90615
(
colored)
Okay, here's the "real" commit log for the fork()-based implementation of
flood.
- Remove FLOOD_USE_THREADS as we have no way of determining if we have
threads other than APR. (We'd say that threads were always enabled.)
I feel comfortable using APR's thread detection rather than mucking
with parameters ourselves.
- Add strtoq conversion for FreeBSD that #defines it to strtoll. This
is a tad cheesy. Thoughts? I don't want to have #ifdef HAVE_STRTOLL
and #ifdef HAVE_STRTOQ all over the place. Smells like an APR function.
- Remove forking stuff in flood.c as it doesn't make sense to fork() here
anyway as this is only bootstrap code.
- Make reports output either the current thread id or the pid
- Don't do OpenSSL locking when we aren't threaded
- Not all OpenSSL versions (FreeBSD 4.2 has 0.9.5a) has AUTO_RETRY. So,
only set that option if we have that symbol.
So, we now support FreeBSD. Go forth.
Revision
89634 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 19 23:39:59 2001 UTC
(23 years ago)
by
aaron
Original Path:
httpd/test/trunk/flood/flood_farm.c
File length: 7882 byte(s)
Diff to
previous 89633
(
colored)
Must use patch as described in the STATUS file to bring
APR threads up to speed for flood.
Fix to enable <usefarmer count="xx"> syntax.
Changes to match the above patch.
Fix to enable creation of a child-pool and clear()ing that pool
after each profile is run. (This should reduce memory requirements
of 'flood' dramatically for long-running tests.)
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.