memtest-ruby.py (9120:48eeef8a0997) memtest-ruby.py (9286:f610f5942ded)
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# Copyright (c) 2010 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 55 unchanged lines hidden (view full) ---

64options.l1i_assoc=2
65options.l2_assoc=2
66options.l3_assoc=2
67
68#MAX CORES IS 8 with the fals sharing method
69nb_cores = 8
70
71# ruby does not support atomic, functional, or uncacheable accesses
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# Copyright (c) 2010 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

--- 55 unchanged lines hidden (view full) ---

64options.l1i_assoc=2
65options.l2_assoc=2
66options.l3_assoc=2
67
68#MAX CORES IS 8 with the fals sharing method
69nb_cores = 8
70
71# ruby does not support atomic, functional, or uncacheable accesses
72cpus = [ MemTest(atomic=False, percent_functional=50,
72cpus = [ MemTest(clock = '2GHz', atomic=False, percent_functional=50,
73 percent_uncacheable=0, suppress_func_warnings=True) \
74 for i in xrange(nb_cores) ]
75
76# overwrite options.num_cpus with the nb_cores value
77options.num_cpus = nb_cores
78
79# system simulated
80system = System(cpu = cpus,

--- 40 unchanged lines hidden ---
73 percent_uncacheable=0, suppress_func_warnings=True) \
74 for i in xrange(nb_cores) ]
75
76# overwrite options.num_cpus with the nb_cores value
77options.num_cpus = nb_cores
78
79# system simulated
80system = System(cpu = cpus,

--- 40 unchanged lines hidden ---