11.07.2015 Views

System Introspection for System Analysis on Mobile Devices

System Introspection for System Analysis on Mobile Devices

System Introspection for System Analysis on Mobile Devices

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Name Descripti<strong>on</strong> CharactersSingleline attached is <strong>on</strong>e value pair to the properties.135The used key is “LINE1” and theproperty c<strong>on</strong>tains 100 charactersMultiline attached are 10 value pairs to the properties.1035The used keys are “LINE1” to“LINE10”. Each property c<strong>on</strong>tains 100charactersComplex Data attached to this message is the output ofthe SLAM sensor c<strong>on</strong>taining the image ofthe slam map translated to an image andthree value pairs c<strong>on</strong>taining date about thenumber of the image and the positi<strong>on</strong> ofthe robot5000Table 7.1: Patterns used <str<strong>on</strong>g>for</str<strong>on</strong>g> the first part of evaluati<strong>on</strong> - The characterscolumn shows the total count of characters of theproperties attached to a single message.7.2.3 MethodA test series with a total of 18 tests was per<str<strong>on</strong>g>for</str<strong>on</strong>g>med. For each test the probe<str<strong>on</strong>g>for</str<strong>on</strong>g>wards a total of 200 messages to the c<strong>on</strong>nected client. For the first ninetests the mobile device was c<strong>on</strong>nected as client to the probe. For the sec<strong>on</strong>dnine tests the client c<strong>on</strong>nected was the separate laptop. For a single test theevaluati<strong>on</strong> comp<strong>on</strong>ent <strong>on</strong> the probe was c<strong>on</strong>figured with the parameters shownin Table 7.2. Parameters were the amount of messages send to the client, thedelay between two messages and the pattern attached to each message. Whena single test was executed, the probe first sends a message c<strong>on</strong>taining the nameof the logging file. The client creates the file according to the given name <strong>on</strong>its local file system. Once the comp<strong>on</strong>ent thread has send the name of thelogging file the messages <str<strong>on</strong>g>for</str<strong>on</strong>g> the test are <str<strong>on</strong>g>for</str<strong>on</strong>g>warded according the parametersc<strong>on</strong>figured in the GUI. Whenever a message arrives <strong>on</strong> the client side, the clientstores its current timestamp to a variable. From the received message the timeof the probe gets parsed and stored to a variable. Due to the fact that thereceived data normally is processed somehow, work <strong>on</strong> the data is simulatedby iterating of the properties of each message and counting its characters. Atthe end of simulating work the stored variables are appended to the loggingfile. When the comp<strong>on</strong>ent thread reaches the c<strong>on</strong>figured amount of messageto be send it automatically stops and the test ends.56

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!