gem5 v24.0.0.0
Loading...
Searching...
No Matches
memoizer.test.cc File Reference
#include <gtest/gtest.h>
#include "base/memoizer.hh"

Go to the source code of this file.

Functions

 TEST_F (FibonacciMemoizerFixture, Uncached)
 Testing result cache before and after a memoized call.
 
 TEST_F (FibonacciMemoizerFixture, MultipleValues)
 Just checking memoization works for multiple values.
 
 TEST_F (FibonacciMemoizerFixture, CacheFlush)
 Testing the Memoizer::flush method.
 

Function Documentation

◆ TEST_F() [1/3]

TEST_F ( FibonacciMemoizerFixture ,
CacheFlush  )

Testing the Memoizer::flush method.

Definition at line 114 of file memoizer.test.cc.

◆ TEST_F() [2/3]

TEST_F ( FibonacciMemoizerFixture ,
MultipleValues  )

Just checking memoization works for multiple values.

Definition at line 91 of file memoizer.test.cc.

References gem5::ArmISA::res0.

◆ TEST_F() [3/3]

TEST_F ( FibonacciMemoizerFixture ,
Uncached  )

Testing result cache before and after a memoized call.

Definition at line 73 of file memoizer.test.cc.


Generated on Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0