Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Event and Stats fields needed to display coverage stats #107

Closed
wants to merge 1 commit into from

Conversation

bitterbit
Copy link
Contributor

This PR introducesFeedbackEvent.
The FeedbackEvent holds a counter with the total number of unique points it has seen. For example when using for coverage it describes the total number of edges seen up until now. This event can be sent by anyone with access to the event manager, in my case I implemented a shared memory observer which sends an event when execution hooks are called and before zeroing out the memory (only if seen new edges).

One thing I wasn't sure about was how to print out the data, In my case I have one client but when I will have more than one it wouldn't make sense to sum it up like we do with executions so I just defaulted to printing the whole slice.

Let me know what you think

anyone who wants to display coverage can do so by sending FeedbackEvent
using the event manager (who implements EventFirer)
@bitterbit bitterbit mentioned this pull request May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants