diff --git a/AlpcLogger/Models/AlpcCapture.cs b/AlpcLogger/Models/AlpcCapture.cs index eb49cfe..20d139f 100644 --- a/AlpcLogger/Models/AlpcCapture.cs +++ b/AlpcLogger/Models/AlpcCapture.cs @@ -50,8 +50,8 @@ public void Start() { var parser = new KernelTraceEventParser(_session.Source); parser.ALPCReceiveMessage += Parser_ALPCReceiveMessage; parser.ALPCSendMessage += Parser_ALPCSendMessage; - parser.ALPCWaitForReply += Parser_ALPCWaitForReply; - parser.ALPCUnwait += Parser_ALPCUnwait; + //parser.ALPCWaitForReply += Parser_ALPCWaitForReply; + //parser.ALPCUnwait += Parser_ALPCUnwait; _session.Source.Process(); } diff --git a/AlpcLogger/ViewModels/MainViewModel.cs b/AlpcLogger/ViewModels/MainViewModel.cs index a205d6d..730d819 100644 --- a/AlpcLogger/ViewModels/MainViewModel.cs +++ b/AlpcLogger/ViewModels/MainViewModel.cs @@ -42,7 +42,7 @@ public MainViewModel(IUIServices ui) { _messagesTimer.Tick += _timer_Tick; _messagesTimer.Start(); - _eventsTimer = new DispatcherTimer(DispatcherPriority.Background) { Interval = TimeSpan.FromSeconds(1) }; + _eventsTimer = new DispatcherTimer(DispatcherPriority.Background) { Interval = TimeSpan.FromSeconds(1.5) }; _eventsTimer.Tick += _timer2_Tick; _eventsTimer.Start(); @@ -182,7 +182,10 @@ public string SearchText { DoSave(true); }); - public ICommand ClearLogCommand => new DelegateCommand(() => Messages.Clear()); + public ICommand ClearLogCommand => new DelegateCommand(() => { + Messages.Clear(); + Events.Clear(); + }); public DelegateCommandBase SaveFilteredCommand => new DelegateCommand(() => { if(MessagesView.Count == 0)