Skip to content

Commit

Permalink
fixed some screen stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
kylemsguy committed Nov 3, 2015
1 parent 18fb639 commit a3be446
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ void cpu_cache_speed()
/* To measure L1 cache speed we use a block size that is 1/4th */
/* of the total L1 cache size since half of it is for instructions */
if (l1_cache) {
cprint(2, 0, "L1 Ca$h: K ");
cprint(2, 0, "L1 Ca$h: K ");
dprint(2, 11, l1_cache, 3, 0);
if ((speed=memspeed(STEST_ADDR, (l1_cache/2)*1024, 200))) {
cprint(2, 16, " MB/s");
Expand All @@ -1083,7 +1083,7 @@ void cpu_cache_speed()
/* the size of the L1 cache. We have to fudge if the L1 */
/* cache is bigger than the L2 */
if (l2_cache) {
cprint(3, 0, "L2 Ca$h: K ");
cprint(3, 0, "L2 Ca$h: K ");
dprint(3, 10, l2_cache, 4, 0);

if (l2_cache < l1_cache) {
Expand All @@ -1102,7 +1102,7 @@ void cpu_cache_speed()

if (l3_cache)
{
cprint(4, 0, "L3 Ca$h: K ");
cprint(4, 0, "L3 Ca$h: K ");
aprint(4, 10, l3_cache/4);
//dprint(4, 10, l3_cache, 4, 0);

Expand Down

0 comments on commit a3be446

Please sign in to comment.