| /////////////////////////////////////////////////////////////////////////////// |
| // // |
| // Copyright (c) 2000-2019 Ericsson Telecom AB // |
| // // |
| // All rights reserved. This program and the accompanying materials // |
| // are made available under the terms of the Eclipse Public License v2.0 // |
| // which accompanies this distribution, and is available at // |
| // https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html // |
| /////////////////////////////////////////////////////////////////////////////// |
| |
| /////////////////////////////////////////////////////////// |
| // Module: EPTF_LGenBasePerformTest_LoadMessages |
| // |
| // Purpose: |
| // This module provides functions for testing LGenBase |
| // |
| // Module depends on: |
| // - |
| // |
| // Current Owner: |
| // Laszlo Skumat (ELSZSKU) |
| // |
| // Last Review Date: |
| // 2008-09-11 |
| // |
| // Detailed Comments: |
| // Provide functions to test LGenBase |
| // |
| // |
| /////////////////////////////////////////////////////////////// |
| module EPTF_LGenBasePerformTest_LoadMessages |
| {
|
| import from EPTF_CLL_Variable_Definitions all |
| |
| #ifdef R3 |
| import from EPTF_CLL_Common_Definitions all |
| #endif |
| #ifdef R2 |
| import from EPTF_CLL_Definitions all |
| #endif |
| |
| |
| modulepar charstring tsp_resultFile := "../perfTestResults.txt" |
| |
| type enumerated LGenBasePerformTest_LoadMessageEvent { |
| eGrpCreated, |
| stopTraffic |
| } |
| |
| type record LGenBasePerformTest_LoadMessage_varId{ |
| float when, |
| integer lgenId, |
| charstring pID, |
| charstring varId |
| } |
| |
| type record LGenBasePerformTest_LoadMessage_stopLGen{} |
| |
| type record LGenBasePerformTest_LoadMessage_measuredCPS{ |
| float cps |
| } |
| |
| type union LGenBasePerformTest_LoadMessage{ |
| LGenBasePerformTest_LoadMessage_varId varId, |
| LGenBasePerformTest_LoadMessage_stopLGen stopLGen, |
| LGenBasePerformTest_LoadMessage_measuredCPS measuredCPS |
| } |
| |
| template LGenBasePerformTest_LoadMessage t_LoadMessage_eGrpCreated := { |
| varId := ? |
| } |
| |
| type port LGenBasePerformTest_LoadMessages_PT message { |
| inout LGenBasePerformTest_LoadMessage |
| } |
| with {extension "internal"} |
| |
|
|
| } // end of module
|