Commit Graph

35 Commits

Author SHA1 Message Date
Chris Cameron
25d799fe7d fix: Fixed a bug where SafeTimer.Trigger would call the callback twice on NetStandard 2021-04-12 15:13:38 -04:00
Chris Cameron
cc79e88702 fix: Don't throw an ObjectDisposed exception when attempting to stop a disposed timer 2021-02-05 16:15:11 -05:00
Austin Noska
d090ab0085 fix: The SafeTimer constructor that executes the callback immediately now works as expected 2021-01-21 10:24:25 -05:00
Chris Cameron
c349757c00 refactor: Cleaned up SafeTimer, added duration validation to clarify bad values 2020-10-19 12:24:22 -04:00
Laura Gomez
878784586f refactor : refactored Repeater for easier implementation in other classes. 2020-07-14 13:29:46 -04:00
Chris Cameron
d59eb00d6b Merge branch 'ConnectPro_v1.3' into ConnectPro_v1.4
# Conflicts:
#	ICD.Common.Utils/Properties/AssemblyInfo.cs
2020-02-18 13:00:27 -05:00
Chris Cameron
a53ad74811 Merge remote-tracking branch 'origin/ConnectPro_v1.1' into ConnectPro_v1.2
# Conflicts:
#	CHANGELOG.md
#	ICD.Common.Utils/Properties/AssemblyInfo.cs
2020-02-18 12:59:18 -05:00
Drew Tingen
ecf7e626f3 fix: IcdTimer fix issue that prevents OnElapsed callback from firing when Length is less than (or close to) Heartbeat Interval 2020-02-14 23:55:32 -05:00
Chris Cameron
0e16606d75 feat: Additional binary search extensions, AddSorted methods renamed to InsertSorted 2019-09-23 11:43:43 -04:00
Chris Cameron
d3d812265e Merge remote-tracking branch 'origin/ConnectPro_v1.1' into ConnectPro_v1.3
# Conflicts:
#	CHANGELOG.md
#	ICD.Common.Utils/Properties/AssemblyInfo.cs
2019-06-14 16:54:12 -04:00
Austin Noska
3e3a4e33cb fix: SafeTimer Stopped now returns a SafeTimer with no due time and no repeat period 2019-06-14 16:51:36 -04:00
Chris Cameron
72fd823643 test: Fixing unit tests 2019-02-07 17:13:25 -05:00
Chris Cameron
e708ef9603 fix: Fix for potential memory leak with timers 2019-01-21 11:49:21 -05:00
Chris Cameron
566884167f fix: Potential fix for weird profiling offset 2018-10-08 16:33:52 -04:00
Chris Cameron
e01e41c449 feat: Indenting stopwatch results into a tree format 2018-10-08 14:54:16 -04:00
Chris Cameron
9cdb590d9f fix: Slightly more accurate profile times 2018-08-21 14:57:19 -04:00
Chris Cameron
478261e888 refactor: Tidying 2018-08-13 14:58:31 -04:00
Chris Cameron
2f78a25420 feat: Profiling text shows decimals 2018-07-30 10:54:30 -04:00
Chris Cameron
68caebb28b feat: Profiling in ticks, Net Standard too fast... 2018-07-30 09:54:36 -04:00
Chris Cameron
a13daa18db feat: Profile method for performing an action a given number of times and printing results 2018-07-25 11:59:25 -04:00
Chris Cameron
b597448bdc feat: Event profiling messages contain consuming method information 2018-07-19 11:39:31 -04:00
Chris Cameron
073c231ef1 feat: Util methods for profiling event subscribers 2018-07-18 21:35:35 -04:00
Chris Cameron
514c0eaec5 fix: Fixing bug where Timer.Reset() would continue repeating on an interval in Net Standard 2018-06-29 17:11:32 -04:00
Chris Cameron
bf91d9e87f fix: Potential fix for timer disposal on Net Standard 2018-06-21 11:48:59 -04:00
Chris Cameron
b24c93df09 docs: Resolving closure warning 2018-04-10 14:02:13 -04:00
Chris Cameron
02ecff187d Method for profiling each step in an enumerable 2018-03-09 13:49:13 -05:00
Chris Cameron
06a82513ed Adding profile shims to IcdStopwatch 2018-02-01 15:23:14 -05:00
Chris Cameron
88484c6861 Fixing namespaces 2018-01-15 11:19:47 -05:00
Chris Cameron
b3313493cc Simplifying timer 2018-01-03 16:59:42 -05:00
Chris Cameron
821c17ed66 Initial commit of SafeTimerTest, fixing bug where Trigger() was not behaving properly in net standard 2017-10-18 14:23:21 -04:00
Chris Cameron
93dcb6aefa Potential fix for SafeTimer.Stopped() immediately executing the callback 2017-10-18 13:17:38 -04:00
Chris Cameron
f7cd51d3df Adding Restart method to IcdStopwatch 2017-09-20 09:30:07 -04:00
Chris Cameron
c812cf47ce Correcting namespaces 2017-08-29 10:33:19 -04:00
Chris Cameron
ad0c0a637b Tidying 2017-07-12 10:20:01 -04:00
Chris Cameron
ac6ca84a8a Removing Utils directory to better match namespaces 2017-07-06 10:57:04 -04:00