]> git.cworth.org Git - fips/commit
Begin re-factoring metrics.c into separate context.c and metrics-info.c
authorCarl Worth <cworth@cworth.org>
Mon, 4 Nov 2013 21:21:13 +0000 (13:21 -0800)
committerCarl Worth <cworth@cworth.org>
Mon, 4 Nov 2013 21:21:13 +0000 (13:21 -0800)
commit076c1c37c1fc8bf3e56a615adfb4c38542cbd4c5
tree0a6bd81102ff7e86a0f2d7540335240fbf67b51c
parent158a5862aeea9224fcd60c28b0bb19cb6b9f9381
Begin re-factoring metrics.c into separate context.c and metrics-info.c

The code in metrics.c was getting a bit unwieldy. Some of it is pushed
up into the existing context.c file. Other portions (specifically, the
code which queries the names of all available performance monitors) is
pushed down into a new metrics-info.c.

There's not yet very hard boundaries between these files yet, (they
are all sharing their internals in header files), but this gives some
structure for future cleanups.
Makefile.local
context.c
context.h
metrics-info.c [new file with mode: 0644]
metrics-info.h [new file with mode: 0644]
metrics.c
metrics.h