From 872d26246196a87da8551661635cce52c8e5ed3a Mon Sep 17 00:00:00 2001 From: hunt Date: Wed, 7 Dec 2005 19:42:44 +0000 Subject: 2005-12-07 Martin Hunt * pmaps/*.c: Change pmap type from MAP to PMAP. * pmaps/pmap.test: Adjust results to match the more compact histogram format. * maps/map.test: Adjust results to match the more compact histogram format. --- runtime/tests/pmaps/map_format.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'runtime/tests/pmaps/map_format.c') diff --git a/runtime/tests/pmaps/map_format.c b/runtime/tests/pmaps/map_format.c index e6c6d9f6..b27506e0 100644 --- a/runtime/tests/pmaps/map_format.c +++ b/runtime/tests/pmaps/map_format.c @@ -30,7 +30,7 @@ void inc_cpu(void) int main () { - MAP mapiis = _stp_pmap_new_iiss(4); + PMAP mapiis = _stp_pmap_new_iiss(4); _processor_number = 0; _stp_pmap_set_iiss (mapiis, 1,2,"Ohio", "Columbus" ); _stp_pmap_set_iiss (mapiis, 3,4,"California", "Sacramento" ); @@ -44,7 +44,7 @@ int main () /* very bad string. don't crash */ _stp_pmap_print (mapiis, "%s -> mapiis %1s %2s %3d %4d"); - MAP mapss = _stp_pmap_new_ssi(4); + PMAP mapss = _stp_pmap_new_ssi(4); _stp_pmap_set_ssi (mapss, "Riga", "Latvia", 0x0000c0dedbad0000LL); _stp_pmap_set_ssi (mapss, "Sofia", "Bulgaria", 0xdeadf00d12345678LL); _stp_pmap_set_ssi (mapss, "Valletta", "Malta", 1); @@ -53,7 +53,7 @@ int main () _stp_pmap_print (mapss, "The capitol of %1s is %2s and the nerd population is %x"); _stp_pmap_print (mapss, "The capitol of %1s is %2s and the nerd population is %X"); - MAP mapssx = _stp_pmap_new_ssx (4, HIST_LINEAR, 0, 100, 10 ); + PMAP mapssx = _stp_pmap_new_ssx (4, HIST_LINEAR, 0, 100, 10 ); int i,j; for (i = 0; i < 100; i++) -- cgit