diff options
| author | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:35 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-10-09 14:12:35 +0200 |
| commit | ffc62c792c9a5196cb4ce7a353287dfe20db6524 (patch) | |
| tree | 1269efa852935b183daae4bb33a58d1b4d2ffb53 /tests/unit/decoder_ipc/decoder_ipc_fortran_probe.f90 | |
| parent | 059831534c7e884f0a607ed86b582fd00d821731 (diff) | |
New upstream version 3.3.0~beta1+dfsgupstream/3.3.0_beta1+dfsg
Diffstat (limited to 'tests/unit/decoder_ipc/decoder_ipc_fortran_probe.f90')
| -rw-r--r-- | tests/unit/decoder_ipc/decoder_ipc_fortran_probe.f90 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/unit/decoder_ipc/decoder_ipc_fortran_probe.f90 b/tests/unit/decoder_ipc/decoder_ipc_fortran_probe.f90 index c1304ee7..a87e7716 100644 --- a/tests/unit/decoder_ipc/decoder_ipc_fortran_probe.f90 +++ b/tests/unit/decoder_ipc/decoder_ipc_fortran_probe.f90 @@ -3,7 +3,7 @@ subroutine decoder_ipc_fortran_probe(address, values) bind(C) include 'jt9com.f90' type(c_ptr), value :: address - integer(c_int), intent(out) :: values(10) + integer(c_int), intent(out) :: values(11) type(shared_dec_data), pointer :: shared call c_f_pointer(address, shared) @@ -17,7 +17,12 @@ subroutine decoder_ipc_fortran_probe(address, values) bind(C) values(8) = DECODER_IPC_DECODING values(9) = DECODER_IPC_COMPLETE values(10) = DECODER_IPC_SHUTDOWN + values(11) = c_sizeof(shared%metadata) shared%control%generation = shared%control%generation + 1 shared%payload%id2(1) = 1234 + shared%metadata%input_id = 12345678901_c_int64_t + shared%metadata%analysis_id = 12345678902_c_int64_t + shared%metadata%attempt_no = 3 + shared%metadata%valid_samples = 180000 end subroutine decoder_ipc_fortran_probe |
