TEST SCENARIOS simple Registers one callout per event type, unregisters them and registers them again. complex Registers around 1300 callouts, then unregisters 130 of them. Again registers 1000 callouts more. Then the events are generated at random. Finally callout_map() is used to determine the total number of callouts done. stress Try to register a large number of callouts (about 50,000 of them). Then try to unregister a callout multiple times. Then we try to unregister some randomly generated integers. Then we generate the events and times. The callout_map() is used to find the total number of callouts made. timing registers 100,000 callouts. Generate about 100,000 events. Then genevent() is called 100,000 times. The times are subtraced and divided to give the callout time for one call. TIMING INFORMATION Total time taken to generate 100,000 events = 40 milliseconds Number of callouts made = 19999800 Total time taken to make the callouts = 5212 milliseconds Time taken for the dispatches only = 5172 Average time taken per callout = 258 ns