[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/pacmacs a97d195e12 391/472: Merge pull request #188 from c
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/pacmacs a97d195e12 391/472: Merge pull request #188 from codingteam/qfix/move-measure-time-to-rr |
Date: |
Thu, 6 Jan 2022 21:59:42 -0500 (EST) |
branch: elpa/pacmacs
commit a97d195e126952af3018771786730b98c0da00bb
Merge: b19ed92514 f9c2eada4c
Author: Alexey Kutepov <reximkut@gmail.com>
Commit: Alexey Kutepov <reximkut@gmail.com>
Merge pull request #188 from codingteam/qfix/move-measure-time-to-rr
Move measure-time macro to pacmacs-rr module
---
pacmacs-utils.el | 6 ------
tools/pacmacs-rr.el | 6 ++++++
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/pacmacs-utils.el b/pacmacs-utils.el
index c52b8f0185..2b805230d2 100644
--- a/pacmacs-utils.el
+++ b/pacmacs-utils.el
@@ -76,12 +76,6 @@ side-effects."
(when (string-match "\\(map[0-9]+\\)\\.txt" filename)
(match-string 1 filename)))
-(defmacro pacmacs--measure-time (&rest body)
- "Measure the time it takes to evaluate BODY."
- `(let ((time (current-time)))
- ,@body
- (float-time (time-since time))))
-
(provide 'pacmacs-utils)
;;; pacmacs.el ends here
diff --git a/tools/pacmacs-rr.el b/tools/pacmacs-rr.el
index b85b0b3a78..c06d7db494 100644
--- a/tools/pacmacs-rr.el
+++ b/tools/pacmacs-rr.el
@@ -44,6 +44,12 @@
(defvar pacmacs--tick-times nil)
(defvar pacmacs-replay-finished-hook nil)
+(defmacro pacmacs--measure-time (&rest body)
+ "Measure the time it takes to evaluate BODY."
+ `(let ((time (current-time)))
+ ,@body
+ (float-time (time-since time))))
+
(defun pacmacs--record-action (action-name)
(push (cons action-name pacmacs--tick-counter)
pacmacs--recorded-actions))
- [nongnu] elpa/pacmacs 31d7305439 331/472: Add 2nd big pill level (#162), (continued)
- [nongnu] elpa/pacmacs 31d7305439 331/472: Add 2nd big pill level (#162), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 862f9b7f9e 332/472: Add 3d big pill level (#162), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 375d85e49b 344/472: Add pacmacs-replay-finished-hook, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs ffc0195b9a 346/472: Merge pull request #176 from codingteam/refactor-it-recorder, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs ebeba826ce 356/472: Merge pull request #180 from codingteam/headers-urls-178, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs ab77f7a391 360/472: Terrify already terrified ghosts first (#173), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 2425a26d88 364/472: Use push instead of add-to-list (#182), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs a90b8d6352 372/472: Clear wall cache on game start (#138), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 6bb1f0d0a7 375/472: Rename wall-blocks to wall-tiles (#138), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 20d89a67cf 384/472: Enable debug on error for ATT script (#138), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs a97d195e12 391/472: Merge pull request #188 from codingteam/qfix/move-measure-time-to-rr,
ELPA Syncer <=
- [nongnu] elpa/pacmacs 75e26090e5 393/472: Add UT for clear-wall-tiles-cache, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 1b658fe6aa 405/472: Calc new score position (#134), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 508d15dff5 415/472: Fix compilation errors (#134), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 953f9901d9 421/472: Remove register-new-score function (#134), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 70864bb773 447/472: Indicate that score table is empty (#203), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs b9a63f204b 449/472: Rename render-board to render-object-board (#203), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs cd50cff10c 448/472: Disable cursor for score table (#203), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs ee83af998d 467/472: Replace deprecated dash-functional dependency, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 31853e0341 166/472: Update README, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 13f24ef937 171/472: Implement pause. Close #112, ELPA Syncer, 2022/01/06