Gareth Rees
2ffce9476e
Build extra_targets. in particular, build eventsql only if configured to do so.
...
Copied from Perforce
Change: 180912
ServerID: perforce.ravenbrook.com
2013-02-05 15:03:47 +00:00
Gareth Rees
37fa4901e8
Build eventtxt by default.
...
Copied from Perforce
Change: 180911
ServerID: perforce.ravenbrook.com
2013-02-05 15:01:42 +00:00
Gareth Rees
0288de7931
Check for sqlite3.h earlier in the configure process: seems more reliable, but don't understand why. (bad compiler flags on mac os x?)
...
Copied from Perforce
Change: 180910
ServerID: perforce.ravenbrook.com
2013-02-05 14:51:01 +00:00
Gareth Rees
3a59eaf45c
Fix glossary issues identified by rb in e-mail.
...
Copied from Perforce
Change: 180909
ServerID: perforce.ravenbrook.com
2013-02-05 14:03:43 +00:00
Gareth Rees
90b84881d8
Bring mps manual html up to date.
...
Copied from Perforce
Change: 180908
ServerID: perforce.ravenbrook.com
2013-02-05 13:37:39 +00:00
Gareth Rees
e12d5890e3
Improvements to the mps build/installation process:
...
1. Build eventtxt on Mac OS X (add "eventtxt" as dependency for "all" target).
2. In configure, check for the existence of the header "sqlite3.h" and set EXTRA_TARGETS accordingly.
3. In top-level Makefile, install all targets in EXTRA_TARGETS.
Copied from Perforce
Change: 180907
ServerID: perforce.ravenbrook.com
2013-02-05 13:34:42 +00:00
Gareth Rees
51b123525e
Avoid error "variable 'res' set but not used" from gcc.
...
Copied from Perforce
Change: 180905
ServerID: perforce.ravenbrook.com
2013-02-04 17:32:13 +00:00
Gareth Rees
c6aeb6e62f
Merge changes 180885 and 180887 from branch/2012-10-10/measurement to branch/2012-10-09/user-guide.
...
Copied from Perforce
Change: 180904
ServerID: perforce.ravenbrook.com
2013-02-04 16:44:34 +00:00
Gareth Rees
afd7af371b
Don't #error if defined(mps_build_ll) and __has_builtin(__builtin_readcyclecounter). put a todo here instead, referencing job003411.
...
Copied from Perforce
Change: 180903
ServerID: perforce.ravenbrook.com
2013-02-04 16:40:28 +00:00
Nick Barnes
7dc00c2912
Get eventcnv/txt/sql working on fri3gc.
...
Copied from Perforce
Change: 180887
ServerID: perforce.ravenbrook.com
2013-01-31 14:54:35 +00:00
Nick Barnes
164f0a8a92
Port eventsql and friends to windows 7.
...
Copied from Perforce
Change: 180885
ServerID: perforce.ravenbrook.com
2013-01-30 16:06:59 +00:00
Gareth Rees
a7a2404b83
Minor edits.
...
Copied from Perforce
Change: 180507
ServerID: perforce.ravenbrook.com
2012-11-20 11:11:40 +00:00
Gareth Rees
01b0ed6d11
Integrate changes from branch/2012-10-10/measurement.
...
Copied from Perforce
Change: 180506
ServerID: perforce.ravenbrook.com
2012-11-20 10:50:12 +00:00
Gareth Rees
1d598182a0
Quote a paragraph from johnstone (1997) suggesting that address-ordered and fifo first fit are "very robust algorithms".
...
Copied from Perforce
Change: 180504
ServerID: perforce.ravenbrook.com
2012-11-19 17:46:39 +00:00
Gareth Rees
2f4c618ffb
Add some casts so that visual studio c++ 2010 express does not complain about loss of data and signed/unsigned comparison.
...
Copied from Perforce
Change: 180499
ServerID: perforce.ravenbrook.com
2012-11-19 15:10:30 +00:00
Gareth Rees
0dd9586930
New type mps_label_t for telemetry labels.
...
Deprecate "candy machine" interface to telemetry control.
Implement and document straightforward get/set/reset interface.
Put a TODO referencing job003387 and job003388.
Copied from Perforce
Change: 180495
ServerID: perforce.ravenbrook.com
2012-11-16 16:42:41 +00:00
Gareth Rees
0338d1765e
Actions from rb's e-mail < https://info.ravenbrook.com/mail/2012/11/16/14-31-52/0/ >.
...
Copied from Perforce
Change: 180494
ServerID: perforce.ravenbrook.com
2012-11-16 15:38:40 +00:00
Gareth Rees
dee2dd5d8d
Actions from rb's e-mail < https://info.ravenbrook.com/mail/2012/11/16/13-21-30/0/ >.
...
Copied from Perforce
Change: 180492
ServerID: perforce.ravenbrook.com
2012-11-16 14:57:56 +00:00
Gareth Rees
35e0ac259a
New file "mpscmv2.h" just #include "mpscmvt.h", for backwards compatibility.
...
Copied from Perforce
Change: 180490
ServerID: perforce.ravenbrook.com
2012-11-16 14:48:53 +00:00
Gareth Rees
fcd7180d08
Rename "mpscmv2.h" to "mpscmvt.h" for consistency.
...
Copied from Perforce
Change: 180489
ServerID: perforce.ravenbrook.com
2012-11-16 14:48:14 +00:00
Gareth Rees
1afadfd663
Bring documentation for mpseventsql options up to date.
...
Put the telemetry introduction before the McCarthy anecdote and link the anecdote to the text.
Copied from Perforce
Change: 180487
ServerID: perforce.ravenbrook.com
2012-11-16 13:19:28 +00:00
Gareth Rees
f7050114ab
Update html.
...
Copied from Perforce
Change: 180486
ServerID: perforce.ravenbrook.com
2012-11-16 12:48:14 +00:00
Gareth Rees
2cc40665bb
Effect of address space up to 2**40.
...
Copied from Perforce
Change: 180485
ServerID: perforce.ravenbrook.com
2012-11-16 12:46:41 +00:00
Nick Barnes
ba28c7a10d
Exit(exit_success) after usage message.
...
Copied from Perforce
Change: 180484
ServerID: perforce.ravenbrook.com
2012-11-16 10:22:29 +00:00
Nick Barnes
151c6a1e63
Somehow i introduced an uninitialized variable bug into eventflush(). oops.
...
Copied from Perforce
Change: 180482
ServerID: perforce.ravenbrook.com
2012-11-15 22:07:28 +00:00
Nick Barnes
2df242c567
Remove assertion which requires a higher-resolution clock() than freebsd has. document an alternative mps_clock() implementation using getrusage().
...
Copied from Perforce
Change: 180481
ServerID: perforce.ravenbrook.com
2012-11-15 22:06:49 +00:00
Nick Barnes
5a2950e2a1
Correct comment regarding mps_clocks_per_sec().
...
Copied from Perforce
Change: 180480
ServerID: perforce.ravenbrook.com
2012-11-15 19:30:47 +00:00
Gareth Rees
490ee8a31c
New event "arenasetemergency".
...
Copied from Perforce
Change: 180479
ServerID: perforce.ravenbrook.com
2012-11-15 14:08:13 +00:00
Gareth Rees
d522e73711
Integrate gcc compatibility fixes from scheme.c to scheme-advanced.c.
...
Copied from Perforce
Change: 180476
ServerID: perforce.ravenbrook.com
2012-11-15 11:40:09 +00:00
Gareth Rees
af8e1aad91
Integrate gcc compatibility from scheme-malloc.c to scheme.c and scheme-boehm.c.
...
Copied from Perforce
Change: 180475
ServerID: perforce.ravenbrook.com
2012-11-15 11:39:08 +00:00
Gareth Rees
4133528ded
Avoid warnings under gcc:
...
* Use <errno.h> instead of "extern int errno;".
* Can't cast function pointer to object pointer.
* GCC's dataflow analysis wrongly thinks "end" can be used uninitialized.
Copied from Perforce
Change: 180474
ServerID: perforce.ravenbrook.com
2012-11-15 11:35:33 +00:00
Gareth Rees
4e75e51472
Need -std=c99 in order to use vsnprintf.
...
Copied from Perforce
Change: 180473
ServerID: perforce.ravenbrook.com
2012-11-15 11:33:54 +00:00
Gareth Rees
7043c844ae
Restore "res = resok" to eventflush (removed in change 180152).
...
Copied from Perforce
Change: 180471
ServerID: perforce.ravenbrook.com
2012-11-14 17:46:03 +00:00
Gareth Rees
bd034b6eb0
Update html.
...
Copied from Perforce
Change: 180468
ServerID: perforce.ravenbrook.com
2012-11-14 14:13:19 +00:00
Gareth Rees
5e9f42cd44
Use three generations and 32 mb of address space.
...
Copied from Perforce
Change: 180467
ServerID: perforce.ravenbrook.com
2012-11-14 14:12:12 +00:00
Gareth Rees
188c288055
More knobs to tune.
...
Copied from Perforce
Change: 180466
ServerID: perforce.ravenbrook.com
2012-11-14 14:10:17 +00:00
Gareth Rees
66f0e08954
Integrate nb's changes from the measurement branch.
...
Copied from Perforce
Change: 180465
ServerID: perforce.ravenbrook.com
2012-11-14 14:09:49 +00:00
Gareth Rees
6abf20535f
Events have to be inside the arena lock.
...
Copied from Perforce
Change: 180463
ServerID: perforce.ravenbrook.com
2012-11-13 17:59:41 +00:00
Gareth Rees
38000922fc
Typo.
...
Copied from Perforce
Change: 180461
ServerID: perforce.ravenbrook.com
2012-11-13 15:07:49 +00:00
Nick Barnes
686ee38101
Tidy up the event pipeline.
...
Copied from Perforce
Change: 180460
ServerID: perforce.ravenbrook.com
2012-11-13 12:51:58 +00:00
Gareth Rees
323e12294f
Merge documentation changes.
...
Copied from Perforce
Change: 180445
ServerID: perforce.ravenbrook.com
2012-11-11 20:44:19 +00:00
Gareth Rees
d298fea296
Document more of the entry points.
...
Copied from Perforce
Change: 180444
ServerID: perforce.ravenbrook.com
2012-11-11 20:42:56 +00:00
Gareth Rees
2974145d2d
Merge "do" implementation from scheme.c into scheme-advanced.c.
...
Copied from Perforce
Change: 180443
ServerID: perforce.ravenbrook.com
2012-11-11 19:41:01 +00:00
Gareth Rees
717c7e32e4
Merge "do" implementation into scheme-boehm.c and scheme.c.
...
Copied from Perforce
Change: 180442
ServerID: perforce.ravenbrook.com
2012-11-11 19:40:17 +00:00
Gareth Rees
fd03ed65aa
Implement "do".
...
Copied from Perforce
Change: 180441
ServerID: perforce.ravenbrook.com
2012-11-11 19:34:46 +00:00
Gareth Rees
9af9a934b4
Minor edits.
...
Copied from Perforce
Change: 180439
ServerID: perforce.ravenbrook.com
2012-11-10 20:29:20 +00:00
Gareth Rees
6f81d69df3
Add two new events:
...
* ArenaAccess for handling barrier hits;
* ArenaPoll for choosing a quantum of work.
Copied from Perforce
Change: 180432
ServerID: perforce.ravenbrook.com
2012-11-09 15:19:35 +00:00
Gareth Rees
2350b83b6b
Use a typedef for the type of the function passed to mps_amc_apply to make the documentation clearer while remaining backwards-compatible.
...
(This was change 179975 but got reversed accidentally by change 180236.)
Copied from Perforce
Change: 180431
ServerID: perforce.ravenbrook.com
2012-11-09 11:15:16 +00:00
Gareth Rees
1e852f789c
Update html.
...
Copied from Perforce
Change: 180430
ServerID: perforce.ravenbrook.com
2012-11-09 10:55:57 +00:00
Gareth Rees
1446ef3a79
Document the eventsql program.
...
Copied from Perforce
Change: 180423
ServerID: perforce.ravenbrook.com
2012-11-08 16:57:11 +00:00