What is difference between uvm_event_pool and uvm_event?

Hello,

I am new to UVM,

i had worked with uvm_event but not familiar with uvm_event_pool.

Please share some knowledge on uvm_event_pool and difference between them.

In reply to meet81193:

From the UVM source code


class uvm_pool #(type KEY=int, T=uvm_void) extends uvm_object;
 
 protected T pool[KEY];

endclass
class uvm_object_string_pool #(type T=uvm_object) extends uvm_pool #(string,T);
...
endclass

typedef uvm_object_string_pool #(uvm_event) uvm_event_pool;

A Pool is UVM’s way of parameterizing an associative array with a set of parameterized access methods. So uvm_event_pool is

event pool[string];

In reply to dave_59:

Thank you for your answer