View Single Post
Old 11-04-2013, 05:18 PM   #11
sinan
Enthusiast
sinan has read War And Peace ... all of itsinan has read War And Peace ... all of itsinan has read War And Peace ... all of itsinan has read War And Peace ... all of itsinan has read War And Peace ... all of itsinan has read War And Peace ... all of itsinan has read War And Peace ... all of itsinan has read War And Peace ... all of itsinan has read War And Peace ... all of itsinan has read War And Peace ... all of itsinan has read War And Peace ... all of it
 
sinan's Avatar
 
Posts: 23
Karma: 66956
Join Date: Feb 2010
Location: Conn. USA
Device: Kindle 3, Kindle PW
I don't know if I am doing this right but here is the result for

Code:
echo "" > /var/log/messages; tail -F /var/log/messages 2>/dev/null | exec /usr/bin/parselog | awk '/.*PageTurnAction*./ || /.*JunoExecutionManager*./  {system("echo matched; eips -d l=FFF,w=758,h=48 -x 0 -y 977")}  '
Spoiler:

Code:
131105:000018 Xorg: I GestureEngine:perfScenario::Sending button 1 down 1383602418.677745
131105:000018 cvm[1476]: I ReadingTimerController:Information::NextPage,Verdict:Processed,PageStartPos:MobiPosition: 118570,IntervalTime:527,IntervalWords:106,IntervalWPM:12068.31119544592,ScreenStart:MobiPosition: 117452,ScreenEnd:MobiPosition: 118569,Interval%:0.0034611296854616946,TotalTime:1630833,TotalWords:35398,TotalWPM:4893.62934221199,Total%:1.301710114121222,BookInfoKnownWords:41008,BookInfoKnown%:1.5013339447892469,LogDataReturnCode:106,GlobalWPM:4575.337913019471,GlobalTime:1630833,GlobalWords:97346,CurrentPos:MobiPosition: 118570,EndPos:MobiPosition: 322660,PosLeft:204090,%Left:0.6323920837116199,CurrentPagePosDiff:1194,TimeForPage:1,PosPassed:false,NewTimeLeft:180,OldTimeLeft:792,TimeLeftInBookString:3 mins left in book,TimeLeftInSectionString:Learning reading speed...;
131105:000018 root: perfScenario CVM received X11 ButtonPress button=1 time=1383602418.700312
131105:000018 cvm[1476]: I def:print::perfScenario CVM posting MouseEvent[MousePressed] time=1383602418700
131105:000018 cvm[1476]: I def:print::
131105:000018 Xorg: I GestureEngine:perfScenario::Sending button 5 down 1383602418.796273
131105:000018 Xorg: I GestureEngine:perfScenario::Sending button 5 up 1383602418.796405
131105:000018 cvm[1476]: I def:print::perfScenario CVM posting MouseEvent[MousePressed] time=1383602418802
131105:000018 cvm[1476]: I def:print::
131105:000018 cvm[1476]: I def:print::perfScenario CVM POINTER_CLICKED-gen btn=5  -> radius=0.0 time=1383602418802
131105:000018 cvm[1476]: I def:print::
131105:000018 cvm[1476]: I def:print::perfScenario CVM posting MouseEvent[MouseRelease] time=1383602418803
131105:000018 cvm[1476]: I def:print::
131105:000018 cvm[1476]: I def:print::perfScenario CVM posting MouseEvent[MouseClicked] time=1383602418803
131105:000018 cvm[1476]: I def:print::
131105:000018 root: perfScenario CVM received X11 ButtonPress button=5 time=1383602418.802140
131105:000018 root: perfScenario CVM received X11 ButtonRelease button=5 time=1383602418.802710
131105:000018 cvm[1476]: I ContentPanel:Information::Swipe West action start - swipe detected at java.awt.Point[x=424,y=656]
131105:000018 cvm[1476]: I ContentPanel:UserActionInfo:PageTurnAction=NextPage:
131105:000018 Xorg: I GestureEngine:perfScenario::Sending button 1 up 1383602418.952464
131105:000018 root: perfScenario CVM received X11 ButtonRelease button=1 time=1383602418.980799
131105:000018 cvm[1476]: I def:print::perfScenario CVM posting MouseEvent[MouseRelease] time=1383602418980
131105:000018 cvm[1476]: I def:print::
131105:000019 cvm[1476]: I ReadingTimerController:Information::NextPage,Verdict:Processed,PageStartPos:MobiPosition: 119765,IntervalTime:402,IntervalWords:96,IntervalWPM:14328.358208955222,ScreenStart:MobiPosition: 118570,ScreenEnd:MobiPosition: 119764,Interval%:0.0036997214363843067,TotalTime:1631235,TotalWords:35494,TotalWPM:4986.283497258797,Total%:1.3054098355576063,BookInfoKnownWords:41104,BookInfoKnown%:1.5050336662256312,LogDataReturnCode:96,GlobalWPM:4575.337913019471,GlobalTime:1631235,GlobalWords:97442,CurrentPos:MobiPosition: 119765,EndPos:MobiPosition: 322660,PosLeft:202895,%Left:0.6286892636810679,CurrentPagePosDiff:1201,TimeForPage:1,PosPassed:false,NewTimeLeft:180,OldTimeLeft:785,TimeLeftInBookString:3 mins left in book,TimeLeftInSectionString:Learning reading speed...;
131105:000019 Xorg: I GestureEngine:perfScenario::Sending button 1 down 1383602419.245270
131105:000019 cvm[1476]: I def:print::perfScenario CVM posting MouseEvent[MousePressed] time=1383602419288
131105:000019 cvm[1476]: I def:print::
131105:000019 root: perfScenario CVM received X11 ButtonPress button=1 time=1383602419.287519
131105:000019 Xorg: I GestureEngine:perfScenario::Sending button 5 down 1383602419.324939
131105:000019 Xorg: I GestureEngine:perfScenario::Sending button 5 up 1383602419.325364
131105:000019 root: perfScenario CVM received X11 ButtonPress button=5 time=1383602419.340616
131105:000019 root: perfScenario CVM received X11 ButtonRelease button=5 time=1383602419.341183
131105:000019 cvm[1476]: I def:print::perfScenario CVM posting MouseEvent[MousePressed] time=1383602419340
131105:000019 cvm[1476]: I def:print::


and for showlog -f | grep Page I got

Spoiler:

Code:
31105:000018 Xorg: I GestureEngine:perfScenario::Sending button 1 down 1383602418.677745
131105:000018 cvm[1476]: I ReadingTimerController:Information::NextPage,Verdict:Processed,PageStartPos:MobiPosition: 118570,IntervalTime:527,IntervalWords:106,IntervalWPM:12068.31119544592,ScreenStart:MobiPosition: 117452,ScreenEnd:MobiPosition: 118569,Interval%:0.0034611296854616946,TotalTime:1630833,TotalWords:35398,TotalWPM:4893.62934221199,Total%:1.301710114121222,BookInfoKnownWords:41008,BookInfoKnown%:1.5013339447892469,LogDataReturnCode:106,GlobalWPM:4575.337913019471,GlobalTime:1630833,GlobalWords:97346,CurrentPos:MobiPosition: 118570,EndPos:MobiPosition: 322660,PosLeft:204090,%Left:0.6323920837116199,CurrentPagePosDiff:1194,TimeForPage:1,PosPassed:false,NewTimeLeft:180,OldTimeLeft:792,TimeLeftInBookString:3 mins left in book,TimeLeftInSectionString:Learning reading speed...;
131105:000018 root: perfScenario CVM received X11 ButtonPress button=1 time=1383602418.700312
131105:000018 cvm[1476]: I def:print::perfScenario CVM posting MouseEvent[MousePressed] time=1383602418700
131105:000018 cvm[1476]: I def:print::
131105:000018 Xorg: I GestureEngine:perfScenario::Sending button 5 down 1383602418.796273
131105:000018 Xorg: I GestureEngine:perfScenario::Sending button 5 up 1383602418.796405
131105:000018 cvm[1476]: I def:print::perfScenario CVM posting MouseEvent[MousePressed] time=1383602418802
131105:000018 cvm[1476]: I def:print::
131105:000018 cvm[1476]: I def:print::perfScenario CVM POINTER_CLICKED-gen btn=5  -> radius=0.0 time=1383602418802
131105:000018 cvm[1476]: I def:print::
131105:000018 cvm[1476]: I def:print::perfScenario CVM posting MouseEvent[MouseRelease] time=1383602418803
131105:000018 cvm[1476]: I def:print::
131105:000018 cvm[1476]: I def:print::perfScenario CVM posting MouseEvent[MouseClicked] time=1383602418803
131105:000018 cvm[1476]: I def:print::
131105:000018 root: perfScenario CVM received X11 ButtonPress button=5 time=1383602418.802140
131105:000018 root: perfScenario CVM received X11 ButtonRelease button=5 time=1383602418.802710
131105:000018 cvm[1476]: I ContentPanel:Information::Swipe West action start - swipe detected at java.awt.Point[x=424,y=656]
131105:000018 cvm[1476]: I ContentPanel:UserActionInfo:PageTurnAction=NextPage:
131105:000018 Xorg: I GestureEngine:perfScenario::Sending button 1 up 1383602418.952464
131105:000018 root: perfScenario CVM received X11 ButtonRelease button=1 time=1383602418.980799
131105:000018 cvm[1476]: I def:print::perfScenario CVM posting MouseEvent[MouseRelease] time=1383602418980
131105:000018 cvm[1476]: I def:print::
131105:000019 cvm[1476]: I ReadingTimerController:Information::NextPage,Verdict:Processed,PageStartPos:MobiPosition: 119765,IntervalTime:402,IntervalWords:96,IntervalWPM:14328.358208955222,ScreenStart:MobiPosition: 118570,ScreenEnd:MobiPosition: 119764,Interval%:0.0036997214363843067,TotalTime:1631235,TotalWords:35494,TotalWPM:4986.283497258797,Total%:1.3054098355576063,BookInfoKnownWords:41104,BookInfoKnown%:1.5050336662256312,LogDataReturnCode:96,GlobalWPM:4575.337913019471,GlobalTime:1631235,GlobalWords:97442,CurrentPos:MobiPosition: 119765,EndPos:MobiPosition: 322660,PosLeft:202895,%Left:0.6286892636810679,CurrentPagePosDiff:1201,TimeForPage:1,PosPassed:false,NewTimeLeft:180,OldTimeLeft:785,TimeLeftInBookString:3 mins left in book,TimeLeftInSectionString:Learning reading speed...;
131105:000019 Xorg: I GestureEngine:perfScenario::Sending button 1 down 1383602419.245270
131105:000019 cvm[1476]: I def:print::perfScenario CVM posting MouseEvent[MousePressed] time=1383602419288
131105:000019 cvm[1476]: I def:print::
sinan is offline   Reply With Quote