We present a metamodel for runtime architecture and demonstrate with experimental results how this metamodel can be used to recover, analyze and improve runtime architecture of mobile phone software. Categories and Subject Descriptors D.2.11 [Software Architectures]: Domain-specific architectures. D.4.1 [Process Management]: Scheduling. General Terms Measurement, Performance. Keywords Software architecture, performance, architecture recovery