From ddd662d03955b5c9ad157507e5ed8de0c55fdfe6 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 13 Feb 2011 23:33:12 +0000
Subject: interfaces 3.0 (13feb11)

git-svn-id: svn://tug.org/texlive/trunk@21393 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/latex/interfaces/interfaces-LaTeX.sty      | 25 ++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/interfaces/interfaces-LaTeX.sty')

diff --git a/Master/texmf-dist/tex/latex/interfaces/interfaces-LaTeX.sty b/Master/texmf-dist/tex/latex/interfaces/interfaces-LaTeX.sty
index 697a8bcbb7a..7592ef4b44b 100644
--- a/Master/texmf-dist/tex/latex/interfaces/interfaces-LaTeX.sty
+++ b/Master/texmf-dist/tex/latex/interfaces/interfaces-LaTeX.sty
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% interfaces : 2011/01/19 v2.9 - interfaces : interfaces with keys for other packages (FC)
+%% interfaces : 2011/01/26 v3.0 - interfaces : interfaces with keys for other packages (FC)
 %% 
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either
@@ -43,10 +43,8 @@
 %% interfaces: interfaces with keys for other packages (FC)
 %% Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
 %% 
-\let\CTANLinks=y
-\let\interfacesquick=n
 \ProvidesPackage{interfaces-LaTeX}
-   [2011/01/19 v2.9 pgfkeys macros for LaTeX (FC)]
+   [2011/02/12 v3.0 pgfkeys macros for LaTeX (FC)]
 \RequirePackage{interfaces-base}
 \itf@pgfkeys
 \newrobustcmd*\changefont[1]{\itf@pgfkeys
@@ -93,6 +91,25 @@
    \pgfkeysifdefined{/itf/LaTeX/changefont/color/.@cmd}{}
       {\pgfkeys{/itf/LaTeX/changefont/color/.code=\color{#1}}}%
 }% AfterPackage xcolor
+\newrobustcmd*\quickprofile{\begingroup \afterassignment \itf@quickprofile \count@}
+\def\itf@quickprofile{\afterassignment \itf@profileloop \toks@}
+\def\itf@profileloop{%
+   \edef\itf@N {\the\count@}\let\itf@n \z@
+   \edef\itf@time{\the\pdfelapsedtime}%
+   \loop
+      \message{^^JProfiler: step \number\itf@n}%
+      \setbox\z@=\vbox{{\the\toks@}}%
+      \count@ \itf@n\advance\count@ \@ne
+      \ifnum \count@<\itf@N
+         \edef\itf@n{\the\count@}%
+   \repeat
+   \message{^^J(interfaces) quickprofile: Time elapsed for \itf@N\space cycles:
+   \the\numexpr(\pdfelapsedtime-\itf@time-32767)/65536\relax sec
+   \the\numexpr\numexpr(\pdfelapsedtime-\itf@time)
+      -\numexpr(\pdfelapsedtime-\itf@time-32767)/65536\relax*65536\relax
+       *1000/65536\relax ms}%
+   \endgroup
+}% \itf@profileloop
 \endinput
 %%
 %% End of file `interfaces-LaTeX.sty'.
-- 
cgit v1.2.3

